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

Error: SoftException in Application.cpp:303 UID of script is small than min_uid

Error: SoftException in Application.cpp:303 UID of script is small than min_uid when going...

HTTP Authentication error in PHP

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

How do I add a user to a MariaDB & MySQL database?

In the MariaDB / MySQL Database section of your hosting control panel, after creating a database...

What is the Path to ImageMagick?

The path to ImageMagick is /usr/bin/

What version of PHP do you use?

We use both PHP versions 4.4.x and 5.x.