Answer the question
In order to leave comments, you need to log in
Uploading files to the server. Where can there be a limitation?
Good day everyone!
Asked for help with setting up the site, but ran into a problem loading files. Apache server. PHP version 5.4.39 (native). The most common form is enctype="multipart/form-data" in the most common php file (not on CMS). But it only accepts files up to 128KB. Less is no problem. More - in any. Error 500
crashes. Useful in .htaccess. There is nothing specific. Only the settings of WordPress itself, which is located in the neighboring directory. Through this CMS, by the way, it also fails to load.
Useful in php.ini. The parameters are: post_max_size = 8M, upload_max_filesize = 128M. The only thing that somehow correlates with 128 kilobytes is the parameter log_errors_max_len = 1024. But these things are unlikely to be connected. What else can be? VPS managed through ISP manager 5.
Answer the question
In order to leave comments, you need to log in
AndreyBerezov , in apache vhost settings change the directive to something more
httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgi...
Default, 131072
php.net/manual/en/ini.core.php#ini.post-max-size
php.net/manual/en/ini.core.php#ini.upload-max-filesize
mb post_max_size to make the same upload_max_filesize or more?
The manual is simple:
To upload large files, this value must be greater than the value of the upload_max_filesize directive.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question