Is it normal for Magento in version 2.3.0 to fail me when trying to upload an image that is larger than 1 MB?

  • check with PHP configuration. It may be due to upload_max_size set to 1MB. – zed Blackbeard Mar 4 at 3:30
  • I have updated this value: upload_max_filesize = 32M, and still does not work, some other idea? – Despotars Mar 4 at 9:45

To resolve this issue

  1. Create a file in your pub directory phpinfo.php and add this code in it:

  2. Execute this file from your browser www.yourwebsite.com/phpinfo.php

If you are getting 404 error, then you magento .htaccess is not allowing this file, in that case try to execute this file from shell

php pub/phpinfo.php

The point of running this file is to get Loaded Configuration File location. After this you will get location of php.ini

  1. Now update upload_max_size in php.ini

  2. Restart apache

It should resolve your issue :)

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.