Fatal error: Allowed memory size of 33554432 bytes exhausted ? Print

  • 28

You can increase the memory limit of PHP by modifying the php.ini file in your public_html folder to solve this type of memory issue.


On your custom php.ini File >> The line you want to change is: "memory_limit = 32M" to "memory_limit = 64M"

If you need a custom php.ini file for your account please upload the file at the below URL to your public_html folder.


-------
http://secure.webhost.lk/downloads/3/PHP
-------

If you are not seeing the settings in the file taking place, please put the following line in your .htaccess file, also located in your public_html folder.
Be sure to change the text "USERNAME" to your cPanel account's actual username so it uses the correct path.

SetEnv PHPRC /home/USERNAME/public_html


** Don't FORGET TO KEEP a Backup copy of existing .htaccess file before modifying above setting


Was this answer helpful?

« Back