Solution to Apache file upload 500 error

高洛峰
Release: 2023-03-05 11:08:02
Original
2732 people have browsed it

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

MaxRequestLen 10240000
Copy after login

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!

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