Magento1.9.X安装php7补丁

admin   ·   发表于 2021-2-4   ·   网站运维


https://magento.com/tech-resources/download#download2240 

cd /www/wwwroot/www.website.com


PATCH-1.9.2.0-1.9.2.4_PHP7-2018-09-13-08-05-20.2_v2


patch -p1 < PATCH-1.9.2.0-1.9.2.4_PHP7-2018-09-13-08-05-20.2_v2


1.9.2.4 - Patch requirements: SUPEE-10752, SUPEE-10570, SUPEE-10415, SUPEE-10266, SUPEE-9767 V2, SUPEE-9652, SUPEE-8788 V2


sh PATCH_SUPEE-10752_CE_v1.9.2.4_v1-2018-06-11-04-33-22.sh

sh PATCH_SUPEE-10570_CE_v1.9.2.4_v1-2018-02-28-04-53-53.sh

sh PATCH_SUPEE-10415_CE_1.9.2.4_v1-2017-11-27-06-51-32.sh

sh PATCH_SUPEE-10266_CE_1.9.2.4_v1-2017-09-13-06-37-37.sh

sh PATCH_SUPEE-9767_CE_1.9.3.0_v2-2017-07-11-11-04-56.sh

sh PATCH_SUPEE-9652_v2-2017-02-07-01-18-38.sh

sh PATCH_SUPEE-8788_CE_1.9.2.4_v2-2016-10-14-09-42-47.sh


PATCH-1.9.2.0-1.9.2.4_PHP7-2018-09-13-08-05-20.2_v2


patch -p1 < PATCH-1.9.2.0-1.9.2.4_PHP7-2018-09-13-08-05-20.2_v2


1.9.2.0 - Patch requirements: SUPEE-10752, SUPEE-10570, SUPEE-10415, SUPEE-10266, SUPEE-9767 V2, SUPEE-9652, SUPEE-8788 V2, SUPEE-7405 v1.1, SUPEE-7405, SUPEE-6788, SUPEE-6482


sh PATCH_SUPEE-10752_CE_v1.9.2.4_v1-2018-06-11-04-33-22.sh

sh PATCH_SUPEE-10570_CE_v1.9.2.2_v1-2018-02-28-04-54-05.sh

sh PATCH_SUPEE-10415_CE_1.9.2.0_v1-2017-11-27-06-47-46.sh

sh PATCH_SUPEE-10266_CE_1.9.2.4_v1-2017-09-13-06-37-37.sh

sh PATCH_SUPEE-9767_CE_1.9.3.0_v2-2017-07-11-11-04-56.sh

sh PATCH_SUPEE-9652_v2-2017-02-07-01-18-38.sh

sh PATCH_SUPEE-8788_CE_1.9.2.0_v2-2016-10-14-09-39-55.sh

sh PATCH_SUPEE-7405_CE_1.9.2.0_v1.1-2016-02-23-07-41-47.sh

sh PATCH_SUPEE-7405_CE_1.9.2.2_v1-2016-01-20-04-35-33.sh

sh PATCH_SUPEE-6788_CE_1.9.2.0_v1-2015-10-26-11-37-50.sh

sh PATCH_SUPEE-6482_CE_1.9.2.0_v1-2015-08-03-06-51-10.sh


把两个补丁按照对应的版本下载好放在服务器magento根目录,然后在终端运行


sh PATCH_SUPEE-1522......(省略了后面的名字)


sh PATCH_SUPEE-5344.....


这就打完补丁了(如果你的是windows服务器,还需要做些环境修改, 否则跑不了脚本)


通过ssh登录服务器运行 sh  *****.sh该命讼,这里显示补丁成功


备注:打补丁最好做一个程序的备份,用于恢复,因为补丁有可能会出现其它的异常


参考链接:


https://inchoo.net/magento/magento-1-official-php-7-2-patches/


https://www.codilar.com/blog/secure-magento-1-running-on-php-5-6-with-php-7-2/


https://www.magentoucd.com/blog/magento-%E5%AE%89%E8%A3%85%E8%A1%A5%E4%B8%81/


How to fix Magento 1.9 errors on PHP 7


https://www.geeksvilla.com/magento-errors-php7/

0 Reply   |  Until 2021-2-4 | 102 View
LoginCan Publish Content