Apache upload file 500 error solution

  • 2020-05-07 20:50:02
  • OfStack

Open the httpd.conf configuration file of Apache and add the following parameter Settings to the file.


MaxRequestLen 10240000


I'm going to set it to 10M, which is slightly larger than the default maximum of 8M for PHP uploads. You can adjust the value of this parameter to suit your needs, and notice that this parameter is in bytes.

Restart Apache when the configuration is complete.


Related articles: