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. Component dependency issues. enter image description here
  • Have you restarted your server after increasing the memory limit – surbhi agr May 15 '19 at 6:08
  • I have not changed memory limit of server. It is already set 2048M for all PHP version. But still I am facing the issue. – chanchal May 16 '19 at 5:14

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:


Check if you are using php fpm


2) For component dependency issues, Please refer below magento 2 devdocs:


| improve this answer | |
  • In phpinfo() , it shows memory limit for local as 768 M and 2048 M for Master. – chanchal May 15 '19 at 6:43
  • find 'memmory' in your htaccess file. – Saphal Jha May 15 '19 at 7:14
  • In htaccess also,value is memory_limit 2048M – chanchal May 15 '19 at 7:16
  • are you using apache and nginx? – Saphal Jha May 15 '19 at 7:21
  • I am using apache. – chanchal May 15 '19 at 7:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.