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

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...

HTTP Authentication error in PHP

Issues with HTTP Authentication error in PHP. Variables $_SERVER['PHP_AUTH_USER'] and...

Test MySQL Connection

The following is a great way to verify a MySQL / MariaDB database connection issue. Create a file...

Premature end of script headers

If you receive an Internal Server Error 500 and checking your log files displays "Premature end...

Learn MySQL

If you do not know how to use MySQL there are some great guides at the following websites....