Cannot increase max upload size (8MB)
-
Hey guys,
I’ve tried to import an xml-file bigger than 8 MB, but upload is limited to 8MB and it’s throwing this error:
“File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.”
To resolve this issue I’ve tried to increase memory size to 250 MB by doing the following:
Adding php.ini but it crashed my site.Also adding the following code in wp-config doesn’t make sense: define(‘WP_MEMORY_LIMIT’, ‘250M’);
Using a plugin that increases max upload size also has no effect. It keeps throwing the same error.
Have checked php memory in my WHM; it’s set at 2048MB (!).
The max memory upload size appears to be fixed at 8 MB.Are there any other options to make it working?
- The topic ‘Cannot increase max upload size (8MB)’ is closed to new replies.