Hi anyone, This morning i found out that i cannot go to my website. It gives the following error. "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 77824 bytes) in /home/ivonson/public_html/wp-content/plugins/revver/xmlrpc-2_2/xmlrpc.inc on line 2551" Anyone know how to fix it. This is the first time it happen to me.
The default memory limit for PHP is 8MB and that has been exhausted by whatever site you are running. You can try reloading the web server to be able to login. However, if this happens regularly, you should find a permanent fix for it. Either fix your scripts so that they don't use so much memory, and/or increase the memory allocated to PHP in php.ini.
Thanks Boltok, I'm not a tech geek. Can you tell me how 1. reload the web server. 2. fix what script and where is php.ini Sorry for all this question but i'm a newbie here. Hope you bare with me
If you don't have root access, you will need to ask your host to do it for you. If you have root access, you can follow the below steps It will reurn the full path to php.ini file. Now, edit it find the line "memory_limit = xxM", and change it to the value you want. Save and quit (ctrl-x) and restart web server (with my assumption that you are using Apache
Inside your cPanel you should be able to modify your php.ini Then goto services and restart your apache web service. PS what script is using over 8MB to run? If it is not some sort of import script then you have a coding error.. Most likely infinite loop.
LittleJonSupportSite I went in my cpanel, File Manager Icon . Now in which folder does this php.ini located. I have search all the folder. Anyway of telling from cpanel which script run 8MB. I am running wordpress blog only and few marketing sales letter, and cloaking script.
Thank you all for helping Finally i manage to solve the php memory issue. I just add this code to my htaccess php_value memory_limit 24M Any idea what is the max limit I am still puzzle what script can take so many memory