PHP 7.2 support patch for Magento provides compatibility with PHP 7.2 for core Magento. The patch was released in October 2018 and can be downloaded from
https://magento.com/tech-resources/download#download2240 .
Note, that the patch is in
unified diff? format and should be applied with
patch
command:
$ patch -p1 < PATCH-1.9.3.1-1.9.3.9_PHP7-2018-09-13-08-01-43.2_v2
Alternatively, you can
upgrade Magento to 1.9.4.0 version which have announced PHP 7.2 support.
Note: Now there is an option to upgrade your M1 store to the latest version of OpenMage LTS v19.4.15 (released on August 26, 2021) which provides native PHP7.2 compatibility. Simply select OpenMage LTS option with our upgrade or patch installation services.
For Magento stores without SSH access the patch can be applied via file upload with a pre-patched filesets from the table below.
Magento version Requirements PHP7.2 patch fileset
OpenMage LTS v19 and newernone is already PHP 7.2 compatible
Magento 1.9.4.0 and newer none is already PHP 7.2 compatible
Magento 1.9.3.10 none PHP72-COMPAT-1.9.3.10
Magento 1.9.3.8 SUPEE-10570v2 , SUPEE-10752 PHP72-COMPAT-1.9.3.8
Magento 1.9.3.7 SUPEE-10570v2 , SUPEE-10752 PHP72-COMPAT-1.9.3.7
Magento 1.9.3.6 SUPEE-10415 , SUPEE-10570v2 , SUPEE-10752 PHP72-COMPAT-1.9.3.6
Magento 1.9.3.4 SUPEE-10266 , SUPEE-10415 , SUPEE-10570v2 , SUPEE-10752 PHP72-COMPAT-1.9.3.4
Magento 1.9.3.2 SUPEE-8167 , SUPEE-9767v2, SUPEE-10266 , SUPEE-10415 , SUPEE-10570v2 , SUPEE-10752 PHP72-COMPAT-1.9.3.2
Magento 1.9.3.1 SUPEE-9652 , SUPEE-8167 , SUPEE-9767v2, SUPEE-10266 , SUPEE-10415 , SUPEE-10570v2 , SUPEE-10752 PHP72-COMPAT-1.9.3.1
Magento 1.9.3.0 SUPEE-9652 , SUPEE-8167 , SUPEE-9767v2, SUPEE-10266 , SUPEE-10415 , SUPEE-10570v2 , SUPEE-10752 PHP72-COMPAT-1.9.3.0
Magento 1.9.2.4 SUPEE-10752 , SUPEE-10570 , SUPEE-10415 , SUPEE-10266 , SUPEE-9767 V2, SUPEE-9652 , SUPEE-8788 PHP72-COMPAT-1.9.2.4
Magento 1.9.2.3 SUPEE-10752 , SUPEE-10570 , SUPEE-10415 , SUPEE-10266 , SUPEE-9767 V2, SUPEE-9652 , SUPEE-8788 V2, SUPEE-7405 PHP72-COMPAT-1.9.2.3
Magento 1.9.2.2 SUPEE-10752 , SUPEE-10570 , SUPEE-10415 , SUPEE-10266 , SUPEE-9767 V2, SUPEE-9652 , SUPEE-8788 V2, SUPEE-7405 v1.1, SUPEE-7405 PHP72-COMPAT-1.9.2.2
Magento 1.9.2.1 SUPEE-10752 , SUPEE-10570 , SUPEE-10415 , SUPEE-10266 , SUPEE-9767 V2, SUPEE-9652 , SUPEE-8788 V2, SUPEE-7405 v1.1, SUPEE-7405 , SUPEE-6788 PHP72-COMPAT-1.9.2.1
Magento 1.9.2.0 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 PHP72-COMPAT-1.9.2.0
Magento 1.9.1.1-1.4.x.x Upgrade Magento to 1.9.2.0 or newer
Known Issues
Also, you may want to check other articles tagged
php72 or use our
service to switch your store to PHP7.2 .
Posted in: Magento Maintenance
53 votes, 4.27 avg. rating (85 % score)