Your cart is currently empty!
How to Increase WordPress Resource
You may receive a message such as “Maximum execution time” of 30 seconds exceeded, “WordPress Memory Exhausted” error, ” Max Input Vars”, “maximum upload size”. This means that it is required to increase PHP resources in server or settings. There are a number of ways to fix this error.
Method 1: Edit file wp-config.php:
Add the following to wp-config.php:
define(
'WP_MEMORY_LIMIT'
,
'256M'
);
set_time_limit(300);
Method 2: Edit file .htaccess:
Make sure you back up .htaccess before you edit it.
Add the following to .htaccess:
php_value max_execution_time 300
php_value max_input_vars 1000
php_value memory_limit 256M
php_value upload_max_filesize 12M
php_value post_max_size 13M
Method 3: Editing php.ini
Add the following to php.ini:
max_execution_time = 300
max_input_vars = 1000
memory_limit = 256M
upload_max_filesize = 12M
post_max_size = 13M
file_uploads = On
Leave a Reply