What should I do if I get an error when uploading a large file in php fastcgi mode?

WBOY
Release: 2016-07-25 08:52:29
Original
956 people have browsed it
  1. addhandle fcgid-script .fcgi
  2. fcgidconnecttimeout 20
  3. # to get around upload errors when uploading images increase the maxrequestlen size to 15mb
  4. fcgidmaxrequestlen 15728640
  5. & lt;/ifmodule>
Copy the code

If it is a php+apache windows environment, refer to the following configuration and find it in php.ini upload_max_filesize, and other post_max_size, max_input_time, memory_limit, max_execution_time configuration Modify the upload file size and then restart the apache server.



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!