Go to ...


A Better Technical Repository

RSS Feed

WordPress: Increase the file upload limit

In /etc/php.ini search for:
post_max_size = 8M
upload_max_filesize = 2M

Change to the needed size and save.

If the above does not work try adding the following to the .htaccess file in the root WordPress directory:

<IfModule mod_php5.c>
php_value upload_max_filesize 10M
php_value post_max_size 10M