How to increase server memory limit
In case you have many plugins installed, you may encounter problems with saving the theme options panel . In case this happens, you can try to increase the server memory limit by choosing one of the following options :
WordPress way :#
1. Edit your wp-config.php file and enter the following code :
define('WP_MEMORY_LIMIT', '96M');
You can find more information about this here :
http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
PHP.ini file :#
If you have access to your php.ini file on your server, please follow this steps :
- Open the php.ini file
- Search for the following text : “memory_limit”
- Increase this value to 64MB as shown bellow :
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
.htaccess file :#
Before proceeding this way, please backup your .htaccess file.
- Open the .htaccess file
- Add the following code :
php_value memory_limit 64M
Last and recommended solution :#
If none of the options above fixed your problems, please contact your hosting provider and ask them to increase the memory limit of your site to 64MB.