How to Increase PHP memory Limits in WordPress through .htaccess

75 / 100 SEO Score

What is the PHP Memory Limit in WordPress?

PHP is a server-side language that some times it needs to be increased to work properly in WordPress.There are several ways to increase the PHP memory limit following are given below. Some Web Designs and themes need a high memory limit to import demo data and also to perform well.

in order to increase your PHP memory limit please copy and paste this code into your htaccess file.

1. .htaccess Method

php_value upload_max_filesize 500M
php_value post_max_size 500M
php_value memory_limit 500M
php_value max_execution_time 180
php_value max_input_time 180


WordPress memory limit

you can increase the size according to your needs.

2. Plugin Method

There are several plugins that will exactly the same one of best plugin I know that will increase PHP memory limit is following


    Recent Posts

    Leave a Reply

    Your email address will not be published. Required fields are marked *