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

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

Test MySQL Connection

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

403 Forbidden error with Drupal after install.

Remove the following lines from the .htaccess file... Options -Indexes Options FollowSymLinks...

Changing Maximum Upload Size

Firts check your control panel for the "PHP Options" icon. If available you can change the PHP...

How do I backup a MariaDB - MySQL Database?

In the control panel, within Backup section, under Download a SQL Database Backup will be your...