I am trying to upgrade my magento 2.1 EE to latest version 2.3.1 EE. But I am getting two issues- 1. PHP memory limit issues. It shows current limit is 512 M and needs to be 756 M or more. But after checking on server, memory_limit is 2048 M.
1 Answer
1) Update below in your php.ini file:
memory_limit = 1G
NOTE: check memory using phpinfo() function.
You can try with this, Check all php.ini files for memory limit and update them :
php.ini files locations:
/etc/php/7.2/cli/php.ini
/etc/php/7.2/cgi/php.ini
/etc/php/7.2/apache2/php.ini
Check if you are using php fpm
/etc/php/7.2/fpm/php.ini
2) For component dependency issues, Please refer below magento 2 devdocs:
https://devdocs.magento.com/guides/v2.3/comp-mgr/trouble/cman/component-depend.html
-
In phpinfo() , it shows memory limit for local as 768 M and 2048 M for Master.– chanchalCommented May 15, 2019 at 6:43
-
-
-
-