Programming Uncategorized

Increase PHP’s upload capacity

Handy piece of code I use all the time when set up WordPress installation. Change the 30M to whatever you want. 2048M is good for 2 gigabytes.

php_value upload_max_filesize 30M
php_value post_max_size 30M

via Can’t get past the 2MB upload limit with .htaccess or php.ini

Leave a Reply

Your email address will not be published.