appserv not working on vista

Posted on 2009-04-15
Last Modified: 2012-05-06
I thought my mysql wasn't working but it turns out to be my apache.  The page I was looking at had no php.  When I went to phpinfo, I could see php code in the source.  I had iis installed but believe I uninstalled it (I am thinking something is holding onto port 80).  

Here is the error log:
[Thu Apr 16 00:16:36 2009] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations

[Thu Apr 16 00:16:36 2009] [notice] Server built: Jan  9 2007 23:17:20

[Thu Apr 16 00:16:36 2009] [notice] Parent: Created child process 5212

[Thu Apr 16 00:16:36 2009] [notice] Child 5212: Child process is running

[Thu Apr 16 00:16:36 2009] [notice] Child 5212: Acquired the start mutex.

[Thu Apr 16 00:16:36 2009] [notice] Child 5212: Starting 64 worker threads.

[Thu Apr 16 00:16:36 2009] [notice] Child 5212: Starting thread to listen on port 80.

[Thu Apr 16 00:16:57 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.

[Thu Apr 16 00:16:57 2009] [notice] Child 5212: Exit event signaled. Child process is ending.

[Thu Apr 16 00:16:58 2009] [notice] Child 5212: Released the start mutex

[Thu Apr 16 00:16:59 2009] [notice] Child 5212: Waiting for 64 worker threads to exit.

[Thu Apr 16 00:16:59 2009] [notice] Child 5212: All worker threads have exited.

[Thu Apr 16 00:16:59 2009] [notice] Child 5212: Child process is exiting

[Thu Apr 16 00:16:59 2009] [notice] Parent: Child process exited successfully.

Open in new window

Question by:jackjohnson44
    LVL 10

    Expert Comment

    This is a normal "shutdown" command in Apache. Something is triggering a shutdown after "~20" Secs. Please edit your PHP.ini to show startup errors, and please consult your Windows Application Log and let us know if anything shows up in those logs.

    Author Comment

    Thanks, I think the problem is that something is using port 80.  How do I check?

    (OS 10048)Only one usage of each socket address (protocol/network address/port)
    is normally permitted.  : make_sock: could not bind to address
    no listening sockets available, shutting down
    Unable to open logs
    Press any key to continue . . .
    LVL 10

    Expert Comment

    You can verify by using the netstat command. This command should work on both windows and linux.

    If it is a Windows box you might want to do something like,

    CD \
    netstat -noab > used_ports.txt
    edit the file C:\used_ports.txt to look at the results

    The results should look something like the attached code.

    Look at the Listening Entries, and use the PID in the process explorer to identify the actual process.
    LVL 10

    Accepted Solution

    Woeps, the attached code :-/

    Active Connections
      Proto  Local Address   Foreign Address   State           PID
      TCP         LISTENING       1236
      TCP        LISTENING       4
      TCP        LISTENING       4
      TCP        LISTENING       2224

    Open in new window


    Author Comment

    Thanks, I did that, and under the local host with port 80, it says
      TCP                 LISTENING       288

    That PID turns out to be Apache 2.2

    Is there a way to tell what directory this apache executable is coming from?

    I think this is remnants of another php/mysql thing I tried installing but did not work.  I uninstalled it, but I think it is still hanging around.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Using Quotation Marks in PHP This question ( seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
    Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ… provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
    Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now