Technical resource
PHP 7.2 patches for Magento 1.x without SSH
Note: This is a historical reference, not a current security baseline. Magento 1 is end-of-life.
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
Alternatively, you can upgrade Magento to 1.9.4.0 version which have announced PHP 7.2 support.
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.5.3 (released on February 27, 2024) which provides native PHP7.2 compatibility. Simply select 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.
Known Issues
- User Notice: ‘hashed_directory_umask’ is deprecated -> please use ‘hashed_directory_perm’ instead in lib/Zend/Cache/Backend/File.php on line 143
- Uncaught ArgumentCountError: Too few arguments to function Mage_Sales_Model_Order::getCreatedAtFormated(), 0 passed