PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 8193 bytes) in ….
looks familiar ? This memory limit is dependent on settings inside your php.ini file(which should be inside public_html, if you have created one).
You can change it by editing line 232 in your php.ini file. I would change it to read as such:
memory_limit = 64M
If you haven’t created a php.ini before, follow these steps:
1. Login to cPanel.
2. Click on PHP Config from the Software / Services section.
3. Select PHP5 (Single PHP.INI).
4. Click Save Changes.
5. On this same screen, select IONCube, and click ‘Install PHP.INI Master File’.
6. Go back to the cPanel.
7. Click on ‘File Manager’ from the Files section.
8. Select Webroot and click go.
9. Find php.ini.default and rename it to: php.ini
10. Select the php.ini file and click ‘Code Edit’.
11. Click ‘Edit’ in the lower right hand corner.
12. Scroll to line number 232.
13. Change line 232 to read as such:
memory_limit = 64M
14. Click ‘Save Changes’ (upper right hand corner).
You should now be able to perform operations that require more than 32 megabytes.