{"id":65,"date":"2018-03-14T12:15:35","date_gmt":"2018-03-14T12:15:35","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2018\/03\/14\/install-magento-supee-8788-with-or-without-ssh\/"},"modified":"2025-09-01T11:11:09","modified_gmt":"2025-09-01T05:41:09","slug":"install-magento-supee-8788-with-or-without-ssh","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/install-magento-supee-8788-with-or-without-ssh\/","title":{"rendered":"How to Install Magento SUPEE 8788 with or without SSH"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Magento releases Security Patches from time to time to ensure Magento stores security against potential threats. It is highly recommended for Magento store owners to get these patches installed in their store in order to have the functioning of the store without any hindrance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One such Security Patch&nbsp;<a href=\"https:\/\/experienceleague.adobe.com\/en\/docs\/commerce-operations\/release\/notes\/overview\" target=\"_blank\" rel=\"noreferrer noopener\"><em><strong>Magento SUPEE 8788<\/strong><\/em><\/a>&nbsp;was released by Magento to provide protection against security issues like remote code execution, information leaks, cross-site scripting,&nbsp;Zend framework and payment vulnerabilities. Moreover, it ensures that sessions are invalidated after a user logs out. The patch also resolves compatibility issues with&nbsp;SUPEE patches 1533 and 3941&nbsp;faced by merchants using&nbsp;CE 1.8 and EE 1.13 and earlier versions. Apart from security issue, it also resolves the issue with some third party payment methods during checkout.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With nearing of&nbsp;Magento 1 end of life, it is strongly recommended to migrate to the latest&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/magento-2-4-6-release\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2.4.6<\/a>&nbsp;rather than installing&nbsp;<em><strong>Magento SUPEE-8788<\/strong><\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Magento SUPEE 8788<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Revert SUPEE-8788 if you have already installed it.<\/li>\n\n\n\n<li>Revert SUPEE-1533 if you have already installed it.<\/li>\n\n\n\n<li>Deploy SUPEE-3941 if it hasn\u2019t already been installed.<\/li>\n\n\n\n<li>Install the new SUPEE-8788 v2 patch. This patch includes SUPEE-1533, so you don\u2019t need to worry about re-installing it.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">To automate the above process, you can use&nbsp;<a href=\"https:\/\/github.com\/Bounteous-Inc\/magento-SUPEE8788-patcher\" target=\"_blank\" rel=\"noreferrer noopener\">bash installer script<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method 1:&nbsp;Install Magento SUPEE 8788 using SSH<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Contact your hosting provider if you don\u2019t know how to set up SSH. Download&nbsp;<em>SUPEE 8788<\/em>&nbsp;Patches files for your Magento Version from&nbsp;<a href=\"https:\/\/experienceleague.adobe.com\/en\/docs\/commerce-operations\/installation-guide\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a><a href=\"https:\/\/experienceleague.adobe.com\/en\/docs\/commerce-operations\/installation-guide\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">.<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Upload the patch into your Magento root directory and run the appropriate SSH command:<br><strong>For .sh file extension:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sh patch_file_name.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sh PATCH_SUPEE-8788_CE_v2.9.3.2-1.9.3.7_v2-2018-02-23-06-01-40.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>For .patch file extension:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>patch \u2014p0 &lt; patch_file_name.patch<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong>&nbsp;Once executed the command, refresh the cache in the Admin under \u201cSystem &gt; Cache Management\u201d so that the changes can be reflected. We strongly recommend that you test all patches in a test environment before taking them live.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method 2:&nbsp;Install Magento SUPEE 8788 with PrePatched Files<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Download the zip file for your Magento Version for the patch installation. You can also download these&nbsp;<a href=\"https:\/\/github.com\/MeetanshiInc\/Magento-Security-Patches-PrePatched-Files\/tree\/master\/SUPEE-8788\" target=\"_blank\" rel=\"noreferrer noopener\">Pre Patched files from GitHub<\/a>. After downloading the files, just upload it to your Magento root folder.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Magento Version<\/strong><\/th><th><strong>SUPEE 8788<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Magento 1.9.2.4<\/td><td><a href=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/PrePatchedFiles\/SUPEE-8788\/CE-1.9.2.4v2.zip\">CE-1.9.2.4v2<\/a><\/td><\/tr><tr><td>Magento 1.9.2.3<\/td><td><a href=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/PrePatchedFiles\/SUPEE-8788\/CE-1.9.2.3v2.zip\">CE-1.9.2.3v2<\/a><\/td><\/tr><tr><td>Magento 1.9.2.1<\/td><td><a href=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/PrePatchedFiles\/SUPEE-8788\/CE-1.9.2.1v2.zip\">CE-1.9.2.1v2<\/a><\/td><\/tr><tr><td>Magento 1.9.1.1<\/td><td><a href=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/PrePatchedFiles\/SUPEE-8788\/CE-1.9.1.1v2.zip\">CE-1.9.1.1v2<\/a><\/td><\/tr><tr><td>Magento 1.9.0.1<\/td><td><a href=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/PrePatchedFiles\/SUPEE-8788\/CE-1.9.0.1v2.zip\">CE-1.9.0.1v2<\/a><\/td><\/tr><tr><td>Magento 1.8.1.0<\/td><td><a href=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/PrePatchedFiles\/SUPEE-8788\/CE-1.8.1.0v2.zip\">CE-1.8.1.0v2<\/a><\/td><\/tr><tr><td>Magento 1.7.0.2<\/td><td><a href=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/PrePatchedFiles\/SUPEE-8788\/CE-1.7.0.2v2.zip\">CE-1.7.0.2v2<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">How to check if Magento SUPEE 8788 has been installed correctly?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.magereport.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">magereport.com<\/a>&nbsp;can be used to check if Security Patch Magento SUPEE 8788 has been installed correctly or not.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Possible Issues after installing Magento SUPEE 8788:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">1.  \u201cCall to undefined function hash_equals() error\u201d<br>The error means&nbsp;a local override has taken place at&nbsp;<strong>app\/code\/local\/Mage\/Core\/functions.php.&nbsp;<\/strong>Confirm&nbsp;the override of file and&nbsp;add the following code at the end of it if the file exists.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">if (!function_exists('hash_equals')) {\n    \/**\n     * Compares two strings using the same time whether they're equal or not.\n     * A difference in length will leak\n     *\n     * @param string $known_string\n     * @param string $user_string\n     * @return boolean Returns true when the two strings are equal, false otherwise.\n     *\/\n    function hash_equals($known_string, $user_string)\n    {\n        $result = 0;\n \n        if (!is_string($known_string)) {\n            trigger_error(\"hash_equals(): Expected known_string to be a string\", E_USER_WARNING);\n            return false;\n        }\n \n        if (!is_string($user_string)) {\n            trigger_error(\"hash_equals(): Expected user_string to be a string\", E_USER_WARNING);\n            return false;\n        }\n \n        if (strlen($known_string) != strlen($user_string)) {\n            return false;\n        }\n \n        for ($i = 0; $i &lt; strlen($known_string); $i++) {\n            $result |= (ord($known_string[$i]) ^ ord($user_string[$i]));\n        }\n \n        return 0 === $result;\n    }\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We would find a solution it together! If you are not comfortable installing patches on your own, check out our&nbsp;<em><strong><a href=\"https:\/\/meetanshi.com\/magento-security-patches-installation-service.html\">Magento Security Patches Installation Service<\/a>.<\/strong><\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Having the upgraded version of Magento, i.e., Magento Version 1.9.3.0, will facilitate in-built Security Patches including Magento SUPEE 8788. So, it is recommended to have\u00a0<strong><a href=\"https:\/\/meetanshi.com\/magento-upgrade-service.html\">Magento Upgrade Service<\/a>\u00a0<\/strong>instead.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Magento releases Security Patches from time to time to ensure Magento stores security against potential threats. It is highly recommended for Magento store owners to&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-65","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=65"}],"version-history":[{"count":4,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/65\/revisions"}],"predecessor-version":[{"id":21302,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/65\/revisions\/21302"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}