Changing the maximum upload limit in WordPress

Changing the maximum upload limit in WordPress

The maximum size of a file that may be uploaded through the WordPress media uploader is set by the web servers’ php configuration.

It may be possible to override the web servers configuration for each instance of word press by modifying the php.ini or .htaccess file, for the specific instance

Using php.ini

The php.ini file should be located in the root folder of the word press install. Exercise care when editing an existing php.ini file.

Add the following line to the php.ini
post_max_size = 32M
upload_max_filesize = 32M

Using .htaccess

The .htaccess file should be located in the root folder of the word press install. Exercise care when editing an existing .htaccess file.

Add the following line to the .htaccess
php_value post_max_size = 32M
php_value upload_max_filesize = 32M

In both examples, the word press uploader will be able to upload files up to 32MBytes in size.

 

Powered by WishList Member - Membership Site Software