javascript - simditor fails to upload large image

PHP中文网
Release: 2023-03-02 10:52:02
Original
1609 people have browsed it

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

How to use Simditor

javascript - Is there a limit to the size of images uploaded by simditor?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!