1
nginx 出现413 Request Entity Too Large
The problem is the upload size restrictions, resolved:
1. Open the configuration file nginx nginx.conf, the path is typically: /etc/nginx/nginx.conf.
2. Add client_max_body_size 20m in section http {}; 20m is the maximum allowable size uploaded.
3. After saving the restart nginx, service nginx restart
2 wordpress theme install link you clicked has expired
413 in solving the problem and then upload the zip theme installation package or failed.
The link you followed has expired
Media Access »add a page size limit see instructions, as shown below:
Try: 1
By php.ini file repair
php.ini file is PHP and WordPress configuration file used. Most users are on a shared hosting account, so they may not find it in the root file its site folder.
Now edit php.ini file and add the following code.
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
failure.
Look at this document found not added, is modified. This code is added at the top of the file and then edited the file below
Note that after the completion of modification service php-fpm restart
Find keywords in vim
Command mode / keyword