I have updated the memory limits to 1024M in the php.ini file in the root directory however while installing the extension, am still getting the error stating to update the memory to 756M or above.

Am using magento 2.

1 Answer 1


For magento2, minimum 2GB memory limit required.

I don't think php.ini file changes reflect on your system.

On magento2 root dir, create a file phpinfo.php and rewrite below code <?php phpinfo();?>

After that browse this php file and check memory limit.

You may need to change memory limit at server php.ini file

  • Just "<?php phpinfo();?>" in the blank file? I have done so. Memory limit is set to 2048M in the php.ini file. Will this work now?
    – Nithin
    Commented Jun 20, 2018 at 8:18
  • "<?php phpinfo();?>" yes.
    – Amit Bera
    Commented Jun 20, 2018 at 8:19
  • Done. Problem still exists.
    – Nithin
    Commented Jun 20, 2018 at 10:17

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.