This article provides instructions on how to redeploy Adobe Commerce on cloud infrastructure with different authentication keys. Locate opcache.save_comments and uncomment it if necessary.Adobe Commerce on cloud: change authentication keys and redeploy /etc/php/8.1/fpm/php.ini (nginx web server (CentOS or Ubuntu)).Open your OPcache configuration file in a text editor: Open the other php.ini (if they are different) and make the same changes in it. Save your changes and exit the text editor. Locate the following setting and uncomment it if necessary: date.timezone =Īdd the time zone setting that you found in step 2.Ĭhange the value of memory_limit to one of the values recommended at the beginning of this section.Īdd or update the realpath_cache configuration to match the following values: Locate your server’s time zone in the available time zone settings If you have more than one opcache.ini, modify all of them. Nginx web server with PHP-FPM: /etc/php/8.1/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, change both files. If you have only one php.ini file, change 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. 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.Īdobe recommends enabling the PHP OPcache for performance reasons. These settings allow PHP processes to cache paths to files instead of looking them up on page load. Increase the values for the PHP realpath_cache_size and realpath_cache_ttl to recommended settings: realpath_cache_size=10M
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |