WordPress Tutorial : How to increase WordPress System Limit?

By | 2017-08-16T02:41:15+00:00 August 16th, 2017|WordPress|0 Comments

How To Increase The WP Memory Limit

METHOD 1: CHANGE YOUR PHP MEMORY LIMIT IN PHP.INI FILE

Step 1 – Locate your PHP.ini file. If you can’t find it, then you can create your own PHP.ini file in the root folder of your WordPress installation.

Step 2 – If you find your existing PHP.ini, open the file and locate the following line of code (xx represents a number): memory_limit = xxM;. Then change xxM to your desired limit. For example, 256M.

Step 3 – If you created your own PHP.ini file, then add the same code inside it: memory_limit = 256M;. Simply change the value to the recommended value. For example, 256M.

Step 4 – Save your changes, and reboot your local host or server.

METHOD 2: CHANGE YOUR WORDPRESS MEMORY LIMIT IN WP-CONFIG.PHP FILE

Step 1 – Locate your wp-config.php file in the root folder of your WordPress installation.

Step 2 – Open the wp-config.php with a text editor program (Notepad or TextEdit) and add the following line of code after ‘define(‘WP_DEBUG’, false);define (‘WP_MEMORY_LIMIT’, ‘256M’);. Simply change the value to the recommended value. For example, 256M.

Step 3 – Save the file and refresh your System Status tab. If the WP Memory Limit turns green, then you have successfully increased your WP Memory Limit.

METHOD 3: CHANGE YOUR PHP MEMORY LIMIT IN .HTACCESS FILE

Step 1 – Locate your .htaccess file which is usually in the root folder of your WordPress installation. If you can’t find it, it may be because it’s hidden.

Step 2 – Open the .htaccess file with a text editor program (Notepad or TextEdit) and add the following line of code: php_value memory_limit 256M;. Simply change the value to the recommended value. For example, 256M.

Step 3 – Save the file and refresh your website.

How To Increase The PHP Time Limit

METHOD 1: CHANGE YOUR PHP TIME LIMIT IN PHP.INI FILE

Step 1 – Locate your PHP.ini file. If you can’t find it, then you can create your own PHP.ini file in the root folder of your WordPress installation.

Step 2 – If you find your existing PHP.ini, open the file and locate the following line of code (xx represents a number): max_execution_time = xx; Then change xx to your desired limit. For example, 300.

Step 3 – If you created your own PHP.ini file, then add the same code inside it: max_execution_time = 300; Simply change the value to the recommended value. For example, 300.

Step 4 – Save your changes, and reboot your local host or your server.

METHOD 2: CHANGE YOUR PHP TIME LIMIT IN WP-CONFIG.PHP FILE

Step 1 – Locate your wp-config.php file in the root folder of your WordPress installation.

Step 2 – Open the wp-config.php with a text editor program (Notepad or TextEdit) and add the following line of code after ‘define(‘WP_DEBUG’, false);set_time_limit(300);. Simply change the value to the recommended value. For example, 300.

Step 3 – Save the file and refresh your System Status tab. If the PHP Time Limit turns green, then you have successfully increased your PHP Time Limit.

METHOD 3: CHANGE YOUR PHP TIME LIMIT IN .HTACCESS FILE

Step 1 – Locate your .htaccess file which is usually in the root folder of your WordPress installation. If you can’t find it, it may be because it’s hidden.

Step 2 – Open the .htaccess file with a text editor program (Notepad or TextEdit) and add the following line of code: php_value max_execution_time 300. Then just put in the recommended value. For example, 300.

Step 3 – Save the file and refresh your website.

How To Increase The PHP Max Input Vars

METHOD 1: CHANGE MAX INPUT VARS IN PHP.INI FILE

Step 1 – Locate your PHP.ini file. If you can’t find it, then you can create your own PHP.ini file in the root folder of your WordPress installation.

Step 2 – If you find your existing PHP.ini, open the file and locate the following line of code (xx represents a number): max_input_vars = xx; And set it to your desired limit. For example, 1540.

Step 3 – If you created your own PHP.ini file, then add the same code inside it: max_input_vars = 1540; Simply change the value to the recommended value. For example, 1540.

Step 4 – Save your changes, and reboot your local host or your server.

METHOD 2: CHANGE MAX INPUT VARS IN .HTACCESS FILE

Step 1 – Locate your .htaccess file which is usually in the root folder of your WordPress installation. If you can’t find it, it may be because it’s hidden. .

Step 2 – Open the .htaccess file with a text editor program (Notepad or TextEdit) and add the following line of code: php_value max_input_vars 1540. Simply change the value to the recommended value. For example, 1540.

Step 3 – Save the file and refresh your website.

Leave A Comment