Because of the actual needs, there are many 20M more than the attachment needs to upload, the website uses thinkphp development, Rich Text editor use is ueditor, below say need to modify several places.
Configuration of the Ueditor
Open the Config.json file, modify the contents of the MaxSize
In the WDCP panel configuration php.ini
Many friends have been asked to say that they have changed the above two steps and still do not take effect. And I was also baffled, after the test found that the file uploaded to 8M about the problem began. Through the Chrome browser debugging tool found that the error is willing to be 413equest Entity Too Large. So think of the WDCP Web engine is Apache+nginx, but also lacks the configuration of nginx.
Configure Nginx
cd /www/wdlinux/nginx/conf/vim nginx.conf
Modify the Inside
client_max_body_size 8m;
Client_max_body_size is the maximum number of single-file bytes that the client is allowed to request. Remember to restart the Web service, and then the problem is resolved.
The above describes the WDCP panel under the Ueditor editor upload large file error resolution, including aspects of the content, I hope the PHP tutorial interested in a friend helpful.