Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

My Apache stops working ? ? ?

Options
  • 13-03-2008 3:11pm
    #1
    Registered Users Posts: 148 ✭✭


    Hi,

    Can someone please help me, My Apache Server 2.0.61 using Windows Vista suddenly stops working. It's been working for the last two months and is just stops. I have not installed anythig . . .

    Tried to restart, it did not do anything . . .
    Tried to start using windows services, it says contact service vendor. .

    Is there anything that I can check or do ?

    Thanks in advance . . .


Comments

  • Closed Accounts Posts: 1,200 ✭✭✭louie


    uninstall it, download the latest version and do a clean install.


  • Closed Accounts Posts: 382 ✭✭misterq


    you could check the apache error log for errors?


  • Registered Users Posts: 148 ✭✭maco


    Thanks, Checked the log but no help.

    Maybe the only way is to re install it again . . .


  • Registered Users Posts: 7,739 ✭✭✭mneylon


    If Apache stops due to an error it should log something. I've no idea how well or badly it works on Windows, but on linux you would get some form of error. Maybe you need to up the log level?


  • Registered Users Posts: 148 ✭✭maco


    I've mess it up . . .

    Did reinstall Apache.

    But when I check using http://localhost/phpinfo.php go this error;

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Checked the access log;

    127.0.0.1 - - [16/Mar/2008:16:36:00 +0000] "GET /phpinfo.php HTTP/1.1" 200 19
    127.0.0.1 - - [16/Mar/2008:16:42:25 +0000] "GET / HTTP/1.1" 200 1494
    127.0.0.1 - - [16/Mar/2008:16:42:25 +0000] "GET /apache_pb.gif HTTP/1.1" 200 2326
    127.0.0.1 - - [16/Mar/2008:16:42:35 +0000] "GET /phpinfo.php HTTP/1.1" 500 614
    127.0.0.1 - - [16/Mar/2008:16:51:45 +0000] "GET / HTTP/1.1" 304 -
    127.0.0.1 - - [16/Mar/2008:16:51:45 +0000] "GET /apache_pb.gif HTTP/1.1" 304 -
    127.0.0.1 - - [16/Mar/2008:16:51:55 +0000] "GET /phpinfo.php HTTP/1.1" 500 614
    127.0.0.1 - - [16/Mar/2008:16:59:38 +0000] "GET /phpinfo.php HTTP/1.1" 500 614
    127.0.0.1 - - [16/Mar/2008:17:04:01 +0000] "GET /phpinfo.php HTTP/1.1" 500 614
    127.0.0.1 - - [16/Mar/2008:22:05:17 +0000] "GET / HTTP/1.1" 304 -
    127.0.0.1 - - [16/Mar/2008:22:05:17 +0000] "GET /apache_pb.gif HTTP/1.1" 304 -
    127.0.0.1 - - [16/Mar/2008:22:05:29 +0000] "GET /phpinfo.php HTTP/1.1" 500 614
    127.0.0.1 - - [16/Mar/2008:22:06:40 +0000] "GET /phpinfo.php HTTP/1.1" 500 614
    127.0.0.1 - - [16/Mar/2008:22:22:47 +0000] "GET / HTTP/1.1" 304 -
    127.0.0.1 - - [16/Mar/2008:22:22:47 +0000] "GET /apache_pb.gif HTTP/1.1" 304 -
    127.0.0.1 - - [16/Mar/2008:22:23:25 +0000] "GET /phpinfo.php HTTP/1.1" 500 614

    Error log says;

    [Sun Mar 16 16:28:14 2008] [notice] Apache/2.0.61 (Win32) configured -- resuming normal operations
    [Sun Mar 16 16:28:14 2008] [notice] Server built: Sep 5 2007 09:55:35
    [Sun Mar 16 16:28:14 2008] [notice] Parent: Created child process 3656
    [Sun Mar 16 16:28:15 2008] [notice] Child 3656: Child process is running
    [Sun Mar 16 16:28:15 2008] [notice] Child 3656: Acquired the start mutex.
    [Sun Mar 16 16:28:15 2008] [notice] Child 3656: Starting 250 worker threads.
    [Sun Mar 16 16:40:58 2008] [warn] pid file C:/server/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Sun Mar 16 16:40:58 2008] [notice] Apache/2.0.61 (Win32) configured -- resuming normal operations
    [Sun Mar 16 16:40:58 2008] [notice] Server built: Sep 5 2007 09:55:35
    [Sun Mar 16 16:40:58 2008] [notice] Parent: Created child process 2096
    [Sun Mar 16 16:40:58 2008] [notice] Child 2096: Child process is running
    [Sun Mar 16 16:40:58 2008] [notice] Child 2096: Acquired the start mutex.
    [Sun Mar 16 16:40:58 2008] [notice] Child 2096: Starting 250 worker threads.
    [Sun Mar 16 16:42:36 2008] [error] [client 127.0.0.1] Premature end of script headers: php.exe
    [Sun Mar 16 16:51:55 2008] [error] [client 127.0.0.1] Premature end of script headers: php.exe
    [Sun Mar 16 16:59:38 2008] [error] [client 127.0.0.1] Premature end of script headers: php.exe
    [Sun Mar 16 17:04:02 2008] [error] [client 127.0.0.1] Premature end of script headers: php.exe
    [Sun Mar 16 17:04:02 2008] [error] [client 127.0.0.1]
    [Sun Mar 16 22:05:29 2008] [error] [client 127.0.0.1] Premature end of script headers: php.exe
    [Sun Mar 16 22:06:40 2008] [error] [client 127.0.0.1] Premature end of script headers: php.exe
    [Sun Mar 16 22:23:25 2008] [error] [client 127.0.0.1] Premature end of script headers: php.exe
    [Sun Mar 16 22:23:25 2008] [error] [client 127.0.0.1]


    When I tried to reinstall PHP got this error,

    The installer has encoutered an expected error installing this package. This may indicate a problem with this package. The error code is 2738.




    Any suggestion to fix my problems ? ? ?

    Thanks in advance . . .


  • Advertisement
  • Registered Users Posts: 148 ✭✭maco


    Managed to fix the my Internal Server Error problem, I re checked my config there few typo error that I made.

    On to my next problem,

    Whenever I run http://localhost/phpinfo.php

    it just displayed my source code . . .

    Any idea, please . . .


  • Registered Users Posts: 3,886 ✭✭✭cgarvey


    Is your PHP module loading correctly (line isn't commented out in configs, no errors in logs?)

    Have you an AddType line for .php?

    Have you checked the error log?


  • Registered Users Posts: 148 ✭✭maco


    Thanks for all the help.

    I think my PHP was currupted n ot sure why. I did reinstall my PHP via repair optionb and it works now.

    Thanks again . . .


Advertisement