Increase PHP Memory

Fatal error: Allowed memory size of xxxxxxxxx bytes exhausted (tried to allocate 1064256 bytes).

Firts check your control panel for the "PHP Options" icon. If available you can change the PHP version and change the PHP configuration in this area.
Memory limits may be changed via the "Switch to PHP Options" link. 

==
If the above doesn't work please try the following...
edit the .htaccess file in your public_html folder and add the following code...

php_value memory_limit 96M

Note this increases the processor and memory load of your account on the server.


Share this page:


Was this article useful? Have any suggestions or improvements to the information?

Also Read

Useful CSV to MySQL Script

Provided below is a great tool we have run into for converting CSV files into MySQL format: CSV...

PHP information

To view your current version of PHP you will create a php file, for example info.php, and place...

Strict Standards: Non-static method JLoader::register() should not be called statically in...

This error indicates your script is using out-dated PHP commands. It is best to update your...

Running a PHP file with a cron job

To run a PHP file from cron, use the "cron jobs" section of your control panel. Use the following...

I am having problems with a script I wrote.

PHP suexec is running on all of our shared servers. If you are running code that is insecure or...