Can't update upload_max_filesize
-
I have tried three different ways to update
upload_max_filesizeon my Multisite setup, but it doesn’t seem to be working out. As you can see on my phpinfo(),upload_max_filesizeis properly set at 25MB as I did, but I’m still getting a 1MB max. filesize on both browser and WordPress uploaders.Here’s what I’ve added to my
.htaccess(had to remove, as it was causing 500 erros):php_value memory_limit = 99M php_value max_execution_time = 300 php_value upload_max_filesize = 25M php_value post_max_size = 24MAnd here’s what I added to the end of my
php.ini.memory_limit = 99M max_execution_time = 300 upload_max_filesize = 25M post_max_size = 24MAnd at last, on my theme’s
functions.php:@ini_set( 'upload_max_size' , '25M' ); @ini_set( 'post_max_size', '24M'); @ini_set( 'max_execution_time', '300' );Any ideas? Please note that
upload_max_filesizeseems to be just fine on my phpinfo(). I already got in touch with the guys at Media Temple, but everything seems to be just fine on their side.
The topic ‘Can't update upload_max_filesize’ is closed to new replies.