Problem:
Use simditor to upload pictures. The backend is processed by the php program. Use the move_uploaded_file method to move the uploaded picture to the specified location. There is no problem in uploading a small picture, but it fails to upload a picture of almost 1M. , move_uploaded_file error, why? How can we solve it?
Solution:
Check the PHP settings to see if upload_max_filesize and post_max_size are set too small.
Check the web service configuration, such as nginx, and check the request size limit.
Related articles:
Questions about uploading images with simditor
javascript - Is there a limit to the size of images uploaded by simditor?