413 Request Entity Too Large

Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.

今天在上传图片的时候怎么也能上传成功。初步判断是文件大小导致的。修改php.ini中upload_max_filesize = 6M ,还是不行。

You are using the multi-file uploader. Problems? Try the browser uploader instead. 换个上传方式,发现了具体的错误提示:413 Request Entity Too Large。

上网搜索后在nginx.conf 中的http 添加client_max_body_size 6m;

请选择你看完该文章的感受:

0不错 0超赞 0无聊 1扯淡 0不解 0路过

随机文章:

发表评论