![]() Nginx web server with PHP-FPM: /etc/php/7.2/fpm/php.ini If not, use the following command to locate it: sudo find / -name 'opcache.ini' ![]() The OPcache configuration file might have an opcache section or settings like opcache.enable.įor Ubuntu with Apache, OPcache settings are typically located in the php.ini file.įor CentOS with Apache or nginx, OPcache settings are typically located in /etc/php.d/opcache.ini The location might depend on your operating system and PHP version. PHP OPcache settings are typically located either in php.ini or opcache.ini. Failure to do so might cause unpredictable performance. If you have two php.ini files, make the changes in all files. If you have only one php.ini file, make the changes in that file. The OPcache is enabled in many PHP distributions.Īdobe Commerce and Magento Open Source 2.1 and later use PHP code comments for code generation. We recommend you enable the PHP OPcache for performance reasons. See Performance Tuning in the PHP documentation.Įnable opcache.save_comments, which is required for Adobe Commerce and Magento Open Source 2.1 and later. These settings allow PHP processes to cache paths to files instead of looking them up each time a page loads. Increase the values for the PHP realpath_cache_size and realpath_cache_ttl to recommended settings: realpath_cache_size=10M Compiling code or deploying static assets, 1G.PHP Warning: date(): It is not safe to rely on the system's timezone settings. Set the system time zone for PHP otherwise, errors like the following display during the installation and time-related operations like cron might not work:.This gets around a PHP bug that prevents CSS from loading. If you are using PHP 7.4.20, set pcre.jit=0 in your php.ini file. For example, if you use yum to install PHP, the PHP 7.4 modules can be added with: yum -y install php74u-pdo php74u-mysqlnd php74u-opcache php74u-xml php74u-gd php74u-devel php74u-mysql php74u-intl php74u-mbstring php74u-bcmath php74u-json php74u-iconv php74u-soap Verify that all required extensions are installed.Īdd any missing modules using the same workflow used for installing PHP. Verify installed extensionsĪdobe Commerce and Magento Open Source requires a set of extensions to be installed. On CentOS, additional steps may be required. If PHP is not installed, or a version upgrade is needed, install it following instructions for your particular Linux flavor. Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.1.6, Copyright (c) 1999-2018, by Zend TechnologiesĪdobe Commerce and Magento Open Source 2.4 is compatible with PHP 7.3, but we test with, and recommend using, PHP 7.4. If PHP is installed, a message similar to the following displays: PHP 7.4.0 (cli) (built: 16:42:46) ( NTS ) To verify if PHP is installed already, in the command line, type: php -v This topic assumes that you have already installed PHP. Most flavors of Linux have PHP installed by default. If PHP 7.2.11 is still the only certified, tested PHP version, perhaps provide additional libsodium upgrade steps for Magento stores running linux packages that don't yet support libsodium 1.0.13 in older PHP 7.2.See system requirements for supported versions of PHP. ![]() Please publish what version of PHP is certified & tested against Magento 2.3.2 Possible solutions ![]() If you're using the debian stretch, you need to upgrade PHP to 7.2.20 in order to install the required libsodium 1.0.13 package update, but Magento hasn't yet announced if 7.2.20 is a stable version of PHP to use for Magento if upgrading to 2.3.2. The 2.3 DevDocs Tech Requirements also only list the tested/certified PHP version for 2.3.1, not 2.3.2. ![]() Currently, the 2.3.2 Open Source and Commerce release notes do not reference the certified, tested version of PHP. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |