Magento has released a patch that provides support for PHP 7.2.x for Magento Commerce 1.14.2.x and 1.14.3.x, as well as Magento Open Source 1.9.2.x and 1.9.3.x.
Additionally, support for PHP 7.2 will be included as part of the Magento Commerce 1.14.4.0 and Magento Open Source 1.9.4.0 releases, which are currently scheduled for late 2018.
Note: While this patch resolves compatibility issues with the core Magento code, you must also update any extensions and customizations. Work with your systems integrator and extension vendor to ensure those components are also compatible with PHP 7.2. Test all changes first on a test or staging instance before updating your production site.
Downloading patches
Magento Commerce customers can find patch options under Magento Commerce 1.x > Support Patches and Security Patches > PHP Compatibility patches in the Downloads section of their account. We have separate patches for versions 1.14.2.0 to 1.14.2.4, 1.14.3.0, and 1.14.3.1 to 1.14.3.10 (note this last patch is compatible with just released version 1.14.3.10):
Magento Open Source merchants can download the following patches from Magento Tech Resources. We have separate patches for versions 1.9.2.0 to 1.9.2.4, 1.9.3.0, and 1.9.3.1 to 1.9.3.10 (note this last patch is also compatible with just released version 1.9.3.10):
Inchoo eCommerce, contributors to this code, have published this helpful blog post on installing this patch: Magento 1 Official PHP 7.2 patches.
Note: You can install these patches using either patch or git apply <patch_name>. See the Instructions section of the Magento 1 Official PHP 7.2 patches blog post for more information on both forms of installation.
Test Environment
We tested this patch on official sample data on clean installations. In this test environment:
Test scenarios
Our test coverage included the following scenarios:
Actions tested
We tested the following actions within the context of the preceding test scenarios:
More information
See the PHP News Archive for more information about PHP 7.2 features.
Special thanks to Inchoo eCommerce for their work on this patch and their helpful blog post.