Home >Backend Development >PHP Tutorial >Solution to Apache file upload 500 error

Solution to Apache file upload 500 error

高洛峰
高洛峰Original
2017-02-03 15:29:132771browse

Open Apache's httpd.conf configuration file and add the following parameter settings to this file.

MaxRequestLen 10240000

I set it here to 10M, which is slightly larger than the default maximum value of 8M for PHP upload. You can adjust the value of this parameter according to your own needs. Note that the unit of this parameter is bytes.


#After the configuration is completed, just restart Apache.

For more articles related to solutions to the Apache file upload 500 error, please pay attention to the PHP Chinese website!

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