Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Kobus on March 04, 2005, 08:54:15 PM
-
Can anyone help please
I saw this entry in the messages log and found my php website are no longer working.
Mar 3 17:29:29 esmith httpd: PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 32 bytes) in /home/e-smith/files/ibays/tpm/html/lib/pear/DB/mysql.php on line 294
Thanks
-
It shows what your problem is
Mar 3 17:29:29 esmith httpd: PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 32 bytes)
You will need to create a custom template
for your php.ini and increase the memory it is allowed
custom template goes in
/etc/e-smith/templates-custom/etc/php.ini
look at your current /etc/php.ini for the memory allowed
copy the text to the custom template
and expand the /etc/php.ini
-
I did a google search and found refrence to this error at the following site
http://www.phpwebsitemanual.com/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=17&MMN_position=34:34
It has something to do with a memory size limit. There are a few diffrent solutions provided that may work for you.
-
It shows what your problem is
Mar 3 17:29:29 esmith httpd: PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 32 bytes)
You will need to create a custom template
for your php.ini and increase the memory it is allowed
custom template goes in
/etc/e-smith/templates-custom/etc/php.ini
look at your current /etc/php.ini for the memory allowed
copy the text to the custom template
and expand the /etc/php.ini
I already did all of this and set the mem to 32MB now i dont get any error messages but the php is still not working.
-
and you have restarted apache?
-
and you have restarted apache?
I restarted apache, mysql and the box
-
If you haven't already, take a look at that link.. There were a couple of other suggestions.
-
problem is i am running at least three different php cms solutions for diffierent clients and they are all broken
-
hmmmm... I'm at a loss... Now I am just guessing here... have you checked for a lock file?
-
Sorry guys i did something really stupid which I will not even post here.
your posts did help but it was not the problem.
-
we all have those moments sometimes... LOL