2

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
2
  • Have you restarted your server after increasing the memory limit
    – surbhi agr
    Commented May 15, 2019 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
    Commented May 16, 2019 at 5:14

1 Answer 1

0

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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