bupcguy Posted December 31, 2006 Share Posted December 31, 2006 Hello I have just installed Apache and PHP and they seem to be working ok . When i try the test page,the script i am running is [<?php phpinfo(); ?>] i get all the info like i should . When i type the page in the browser it opens up properly but as soon as it opens i get a message saying Apache has encountered a problem and needs to close and then after about ten seconds it shuts down. I am not sure if this is a problem with Apache or my computer.It actualy loads for about ten seconds until apache shuts down. Thats what i find strange about all of this. It seems like Apache and PHP are configured properly or the page wouldnt load at all. To me it seems like a problem with apache or my computer. Please help. Thankyou Here is some info from the error logs [Sun Dec 31 13:23:56 2006] [notice] Child 2440: Acquired the start mutex. [Sun Dec 31 13:23:56 2006] [notice] Child 2440: Starting 250 worker threads. [Sun Dec 31 13:23:57 2006] [notice] Child 2440: Starting thread to listen on port 80. [Sun Dec 31 13:34:04 2006] [notice] Parent: Received shutdown signal -- Shutting down the server. [Sun Dec 31 13:34:04 2006] [notice] Child 2440: Exit event signaled. Child process is ending. [Sun Dec 31 13:34:05 2006] [notice] Child 2440: Released the start mutex [Sun Dec 31 13:34:06 2006] [notice] Child 2440: Waiting for 250 worker threads to exit. [Sun Dec 31 13:34:06 2006] [notice] Child 2440: All worker threads have exited. [Sun Dec 31 13:34:06 2006] [notice] Child 2440: Child process is exiting [Sun Dec 31 13:34:06 2006] [notice] Parent: Child process exited successfully. [Sun Dec 31 13:49:44 2006] [notice] Apache/2.2.3 (Win32) PHP/5.1.6 configured -- resuming normal operations [Sun Dec 31 13:49:44 2006] [notice] Server built: Jul 27 2006 16:49:49 [Sun Dec 31 13:49:44 2006] [notice] Parent: Created child process 2988 [Sun Dec 31 13:49:44 2006] [notice] Child 2988: Child process is running [Sun Dec 31 13:49:44 2006] [notice] Child 2988: Acquired the start mutex. [Sun Dec 31 13:49:44 2006] [notice] Child 2988: Starting 250 worker threads. [Sun Dec 31 13:49:44 2006] [notice] Child 2988: Starting thread to listen on port 80. [Sun Dec 31 13:50:16 2006] [error] [client 127.0.0.1] script 'C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/test.php' not found or unable to stat [Sun Dec 31 13:58:41 2006] [error] [client 127.0.0.1] PHP Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0, referer: http://localhost/test.php [Sun Dec 31 13:58:41 2006] [error] [client 127.0.0.1] PHP Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0, referer: http://localhost/test.php [Sun Dec 31 13:59:07 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Sun Dec 31 13:59:07 2006] [notice] Apache/2.2.3 (Win32) PHP/5.1.6 configured -- resuming normal operations [Sun Dec 31 13:59:07 2006] [notice] Server built: Jul 27 2006 16:49:49 [Sun Dec 31 13:59:07 2006] [notice] Parent: Created child process 1564 [Sun Dec 31 13:59:07 2006] [notice] Child 1564: Child process is running [Sun Dec 31 13:59:07 2006] [notice] Child 1564: Acquired the start mutex. [Sun Dec 31 13:59:07 2006] [notice] Child 1564: Starting 250 worker threads. [Sun Dec 31 13:59:07 2006] [notice] Child 1564: Starting thread to listen on port 80. [Sun Dec 31 15:31:51 2006] [error] [client 127.0.0.1] PHP Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0, referer: http://localhost/test.php [Sun Dec 31 15:31:51 2006] [error] [client 127.0.0.1] PHP Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0, referer: http://localhost/test.php [Sun Dec 31 15:33:07 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Sun Dec 31 15:33:07 2006] [notice] Apache/2.2.3 (Win32) PHP/5.1.6 configured -- resuming normal operations [Sun Dec 31 15:33:07 2006] [notice] Server built: Jul 27 2006 16:49:49 [Sun Dec 31 15:33:07 2006] [notice] Parent: Created child process 2620 [Sun Dec 31 15:33:07 2006] [notice] Child 2620: Child process is running [Sun Dec 31 15:33:07 2006] [notice] Child 2620: Acquired the start mutex. [Sun Dec 31 15:33:07 2006] [notice] Child 2620: Starting 250 worker threads. [Sun Dec 31 15:33:07 2006] [notice] Child 2620: Starting thread to listen on port 80. [Sun Dec 31 15:33:09 2006] [error] [client 127.0.0.1] PHP Strict Standards: phpinfo() [<a href='function.phpinfo'>function.phpinfo</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for '-5.0/no DST' instead in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\test.php on line 3 [Sun Dec 31 15:38:15 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Sun Dec 31 15:38:15 2006] [notice] Apache/2.2.3 (Win32) PHP/5.1.6 configured -- resuming normal operations [Sun Dec 31 15:38:15 2006] [notice] Server built: Jul 27 2006 16:49:49 [Sun Dec 31 15:38:15 2006] [notice] Parent: Created child process 3908 [Sun Dec 31 15:38:15 2006] [notice] Child 3908: Child process is running [Sun Dec 31 15:38:15 2006] [notice] Child 3908: Acquired the start mutex. [Sun Dec 31 15:38:15 2006] [notice] Child 3908: Starting 250 worker threads. [Sun Dec 31 15:38:15 2006] [notice] Child 3908: Starting thread to listen on port 80. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted December 31, 2006 Share Posted December 31, 2006 How is PHP and Apache configured? Quote Link to comment Share on other sites More sharing options...
the_oliver Posted January 1, 2007 Share Posted January 1, 2007 What OS are you running apache on?I had a problem simmiler to this on a Mac OS X box. It turned out that it was viewing the apache server as a 'security threat' (due to the way i had configured it) and thus was killing the service. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.