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

Solve the problem of errors when uploading large files in PHP

WBOY
WBOYOriginal
2016-07-25 08:56:32860browse
  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



Statement:
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