


This article will show you how to increase the PHP memory limit on your server. You will need to do this if you encounter errors that look similar to "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 163569 bytes)". To solve this, you will need access to your .htaccess file that lies in the root of your web directory.
php_value memory_limit 20M
This will increase your memory limit to 20mb. Depending on the error you received in the first place, you may want to increase this value to match your requirements.
The message often shows when you are enabling modules, using content management systems, or running large scripts. If you find you still got the same error message, then increase the value from "20M" to the appropriate value.
Post new comment