CentOs 7 with php 5.6.26 and Plesk 12.2


Memory_limit 2G 

phpinfo() shows memory_limit of 2G. Readyness check still says limit is set to 128M, so I did a reboot and performed an cache:clean and flush on magento, still same result.

I came accross the .htaccess memory_limit, increased it there as well, and repeatet steps above, doesnt work out.

Any suggestions? Do I miss something here?


Official doc here: http://devdocs.magento.com/guides/v2.0/install-gde/trouble/php/tshoot_php-set.html#trouble-php-memory

The important bit is to run: php --ini in a console and look for a line with something like "Loaded Configuration File: /etc/php.ini". That's the file you need to edit, as it can be different from the one the webserver loads.

| improve this answer | |
  • Note: your command line php and the php version your actual server is using can vary. Type which php to see the path your terminal is referencing for comparison – jamil Aug 8 '18 at 17:14

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.