Quantcast
Channel: Active questions tagged php-ini - Stack Overflow
Viewing all articles
Browse latest Browse all 34

Increase max upload file size in WordPress Multisite network?

$
0
0

I'm trying to increase the max file size for a WordPress multisite install (currently 1MB). I've tried a number of things to no avail. The things I've tried:

Adding these to my hosts php.ini file:

memory_limit = 300Mpost_max_size = 32Mupload_max_filesize = 32M

Adding these to the functions.php file in the theme:

@ini_set('upload_max_size' , '32M');@ini_set('post_max_size', '32M');@ini_set('max_execution_time', '300');

Adding these to the .htaccess file:

php_value upload_max_filesize 32Mphp_value post_max_size 32M

I even tried checking the wp-includes/default-constants.php.

Interestingly, I have another WordPress install (not multisite) on the same server that seems to work perfectly (max upload there is 32MB). Any ideas what to try next?

Thank you.


Viewing all articles
Browse latest Browse all 34

Latest Images

Trending Articles





Latest Images