SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2010
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    need help with xampp configuration

    Hi guys, my xampp has been useless for weeks & You have always led me
    back on the path & I thank you in advance. I was determined to conquer this own but all this trial error & reading hundreds of posts I haven't
    quite made it.
    ========================================================
    here is the message at the bottom of the control panel
    before startup of the server:

    8:23:18 PM [main] Initializing Control Panel
    8:23:18 PM [main] Windows Version: Windows 7 Ultimate SP1 64-bit
    8:23:18 PM [main] XAMPP Version: 1.8.1
    8:23:18 PM [main] Control Panel Version: 3.1.0 Beta 6 [ Compiled: September 20th 2012 ]
    8:23:18 PM [main] Running with Administrator rights - good!
    8:23:18 PM [main] XAMPP Installation Directory: "c:\xampp\"
    8:23:18 PM [main] Checking for prerequisites
    8:23:19 PM [main] All prerequisites found
    8:23:19 PM [main] Initializing Modules
    8:23:19 PM [main] Starting Check-Timer
    8:23:19 PM [main] Control Panel Ready
    ===================================================================
    here is the error log:

    Digest: generating secret for digest authentication ...
    [Sat Apr 13 19:11:29 2013] [notice] Digest: done
    [Sat Apr 13 19:11:30 2013] [notice] Child 5740: Child process is running
    Sat Apr 13 19:11:30 2013] [notice] Child 5740: Acquired the start mutex.
    [Sat Apr 13 19:11:30 2013] [notice] Child 5740: Starting 150 worker threads.
    [Sat Apr 13 19:11:30 2013] [notice] Child 5740: Starting thread to listen on port 443.
    [Sat Apr 13 19:11:30 2013] [notice] Child 5740: Starting thread to listen on port 80.
    [Sat Apr 13 19:11:30 2013] [notice] Child 5740: Starting thread to listen on port 443.
    [Sat Apr 13 19:11:30 2013] [notice] Child 5740: Starting thread to listen on port 80.
    (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open logs
    (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open logs
    ==================================================================
    and this display when I click on the services. mysql stays on and apache
    shuts off immediatey:

    8:28:56 PM [main] Initializing Control Panel
    8:28:56 PM [main] Windows Version: Windows 7 Ultimate SP1 64-bit
    8:28:56 PM [main] XAMPP Version: 1.8.1
    8:28:56 PM [main] Control Panel Version: 3.1.0 Beta 6 [ Compiled: September 20th 2012 ]
    8:28:56 PM [main] Running with Administrator rights - good!
    8:28:56 PM [main] XAMPP Installation Directory: "c:\xampp\"
    8:28:56 PM [main] Checking for prerequisites
    8:28:56 PM [main] All prerequisites found
    8:28:56 PM [main] Initializing Modules
    8:28:56 PM [main] Starting Check-Timer
    8:28:56 PM [main] Control Panel Ready
    8:29:23 PM [Apache] Attempting to start Apache app...
    8:29:24 PM [Apache] Status change detected: running
    8:29:24 PM [mysql] Attempting to start MySQL app...
    8:29:25 PM [mysql] Status change detected: running
    8:29:27 PM [Apache] Status change detected: stopped
    8:29:27 PM [Apache] Error: Apache shutdown unexpectedly.
    8:29:27 PM [Apache] This may be due to a blocked port, missing dependencies,
    8:29:27 PM [Apache] improper privileges, a crash, or a shutdown by another method.
    8:29:27 PM [Apache] Check the "/xampp/apache/logs/error.log" file
    8:29:27 PM [Apache] and the Windows Event Viewer for more clues


  2. #2
    Afrika
    Join Date
    Jul 2004
    Location
    Nigeria
    Posts
    1,737
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    8:29:27 PM [Apache] This may be due to a blocked port, missing dependencies,
    Question is do you have IIS also running ? AS it uses port 80 also and might cause a conflict, same goes with MySQL using port 3306 ( I think )

    Each service has to have a unique ( non conflicting ) port, else xampp crashes.

    To solve it, in the httpd.conf file, change the following lines


    #Listen 0.0.0.0:80
    #Listen [::]:80
    Listen 80
    ServerName localhost:80


    Change 80 to some free port, e.g. I use 8071 and don't forget to open the port in your windows firewall.

    Good luck

  3. #3
    SitePoint Zealot
    Join Date
    Jun 2010
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by afrika View Post
    Question is do you have IIS also running ? AS it uses port 80 also and might cause a conflict, same goes with MySQL using port 3306 ( I think )

    Each service has to have a unique ( non conflicting ) port, else xampp crashes.

    To solve it, in the httpd.conf file, change the following lines


    #Listen 0.0.0.0:80
    #Listen [::]:80
    Listen 80
    ServerName localhost:80


    Change 80 to some free port, e.g. I use 8071 and don't forget to open the port in your windows firewall.

    Good luck

  4. #4
    SitePoint Zealot
    Join Date
    Jun 2010
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    many thanks , I already tried your suggestion without result.My current situation is: all ports are free
    Both apache and mysql show "Running" green, I can create, edit databases and tables but can't import or export them
    and worse I have the same problem as before I reinstalled Xampp - executing PHP only produces code. Any thoughts.?
    I have current documentation

  5. #5
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,617
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    Use TCPview to find out which application is using the local ports that apache and MySQL need.

    http://technet.microsoft.com/en-us/s.../bb897437.aspx
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •