upload_max_filesize directive in php.ini
-
Hi,
I’m trying to upload > 2MB files to the plugin and content WP directories. When I try to do so I get this error message :
The uploaded file exceeds the upload_max_filesize directive in php.ini.
Pretty straightforward – so I edited /etc/php5/cli/php.ini to read :
upload_max_filesize = 10M
When that didn’t work I also added this to my site’s root folder .htaccess file :
php_value post_max_size 20M
Despite this I’m still getting the same error message. Any idea why that would be? I don’t know if this is relevant but the server is running on Nginx.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘upload_max_filesize directive in php.ini’ is closed to new replies.