Increase in the nginx configuration http block
client_max_body_size 200m;
Added to the php.ini configuration file of php-fpm:
upload_max_filesize = 200M
If you don’t know where the php.ini under fpm is, you can directly grep upload_max_filesize -R /etc/php to find the location
Read More:
- PHP large file upload error 413: request entity too large [How to Solve]
- PHP file download, download failed, nginx open() nginx / fastcgi_ temp/2/10/0000000102“ failed (13: Permission denied)
- nginx.conf php-fpm.conf and php.ini Error among the three_ Differences and relations between log instructions
- How to Solve PHP Error: no package’oniguruma’ found
- [Solved] Laravel Upload Files Verificate Error: The file failed to upload.
- [PHP] Solve the 500 error problem-nginx and fpm have no error logs
- Error during session start; please check your PHP and/or webserver log file and configure your PHP
- [PHP] Solve PHP Call to undefined function ldap_connect()
- PHP error in Windows: class’ mysqli ‘not found
- [Solved] PHP Fatal error: Uncaught Error: Class ‘Redis‘ not found in
- How to Solve PHP Fatal error: Namespace declaration statement has to be the very first statement
- PHP Error Object of class mysqli could not be converted to string in
- [PHP]json_encode Chinese JSON_UNESCAPED_UNICODE returns null in php5.3
- PHP php-config is not installed error in ubuntu 16 [How to Solve]
- Lack of files in composer installation [How to Solve]
- How to Hide index.php
- PHP: How to parse MHT file into HTML
- PHP: How to get the total number of data in the MySQL table (total number of rows)
- [Solved] PHP getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL
- [Solved] Request exceeded the limit of 10 internal redirects due to possible configuration error