Increasing the PHP limit

  • Identify the correct php.ini configuration used by the web server. This is available by executing echo phpinfo();
  • Inside the php.ini file, update the following settings.
upload_max_filesize = 64M
post_max_size = 72M
max_execution_time = 300

Restart the application server with

Sudo service php-fpm7.4 restart