Recently uploaded pictures in the project, about more than 300 k, the results reported a server error, never encountered before, the error is as follows:
Mod_fcgid:www.111cn.net HTTP Request Length 132296 (so far) exceeds Maxrequestlen (131072)
Check the data, found fastcgi the default request size is 131072, so in the Apache configuration to add Maxrequestlen configuration is good. If you only need to modify the Maxrequestlen of a single virtual host, it is a setup problem in fastcgi mode, which needs to be specified in the configuration file. htaccess or directly in the Apache configuration file http.conf, as follows:
|The code is as follows|
If you are php+apache Windows environment, we can configure the following
Found in the php.ini.
Upload_max_filesize, and other post_max_size, Max_input_time, Memory_limit, max_execution_time configuration
The upload size changes after the restart of Apache can be resolved.