Jump to content

Apache Shuts Down After A few Seconds


bupcguy

Recommended Posts

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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.