Home > Backend Development > PHP Tutorial > Solve the problem of errors when uploading large files in PHP

Solve the problem of errors when uploading large files in PHP

WBOY
Release: 2016-07-25 08:56:32
Original
928 people have browsed it
  1. max_execution_time = 30
  2. post_max_size = 8M
  3. upload_max_filesize = 2M
Copy the code

Restart the Web Server, OK!

If there is an error but no prompt message, you can open the PHP log file and record the error log in case you encounter problems. Write the log to the specified file: error_log = "/path/to/error.log" For Windows systems, you can write the log to the system log: error_log = syslog



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