Home > Wordpress > Increase the PHP Memory Allocation and PHP Upload Size Limit for use with WordPress or Other Applications using .htaccess
Bookmark and Share

Increase the PHP Memory Allocation and PHP Upload Size Limit for use with WordPress or Other Applications using .htaccess

Posted on August 17, 2012 | Filed in Wordpress

Edit the .htaccess file in your root folder and add the following instructions. Don’t use an arbitrarily large value for memory values below and use just what you need and slowly increase it in increments (I use 16M for increments).

<IfModule mod_php5.c>
php_value post_max_size 32M
php_value upload_max_filesize 32M
php_value memory_limit 64M
</IfModule>

Leave a Reply

Contact Us

Big Apple Design Group
134 West 29th Street
Third Floor
New York, NY 10001

[email protected]

Search Blog