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

Test MySQL Connection

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

Warning: Unknown(): open_basedir restriction in effect.

Basedir restriction is set for security. This most often occurs when you are calling an app...

Internal Server Error with PHPList

PHPList produces internal server error. Checking error logs results in: Invalid command...

What is the proper MariaDB - MySQL import and export format?

The easiest way to import and export a database is via the backup section of our hosting control...