WAMP Server not working

前端 未结 12 1845
忘掉有多难
忘掉有多难 2020-12-03 07:48

Okay so a continuation from this question, where you experts intro\'d me to WAMP, which can basically execute PHP within a Windows XP environment.

So now I\'ve got i

相关标签:
12条回答
  • 2020-12-03 08:04

    Skype reserves port 80 for its incoming connection which conflicts with WAMP, so simply configure Skype to use another port by doing the following:

    In Skype go to Tools|Options|Advanced|Connection uncheck the option --> Use port 80 and 443 as alternatives for incoming connections, that's it

    For this change to take effect restart Skype and Restart all services on WAMP by doing the following:

    Left-click WAMP tray icon > Restart All Services"

    Now Wamp and Skype can co-exist together, hope this solves your problem!!

    0 讨论(0)
  • 2020-12-03 08:04

    I'd like to expand on what some of the other folks have contributed here - as Skype is not always the culprit.

    You can also check exactly which process is hogging your port 80 by running this from a command prompt:

    netstat -ao

    This will list all processes using ports with their PID. You can correlate those to processes in Task Manager, and take appropriate action from there. The bottom line is - you're looking for what's hogging port 80 and/or 443 (if you're connecting over SSL), as that is the default browser port.

    0 讨论(0)
  • For me, when I have opened the httpd.conf file I have found that I have tow Listen statement as following:

    Listen 80
    Listen 169.254.96.77:80
    

    and when I have commented the second line (adding '#' at beginning of the line) I restarted all wamp services (left click of wamp icon in the task bar), the wamp icon became green!

    Hope this help other.

    0 讨论(0)
  • 2020-12-03 08:13

    Most of the time this problem happens because of conflict between apachi servers, or ports, or duplicate of wamp installation

    So to fix that:

    First of all if you are using SKYPE try to change the port by opening Skype, then:

    • Tools menu
    • Options
    • Advanced Options
    • Connections
    • Then uncheck "Use port 80 and 443 ......"
    • save
    • restart Skype

    second if the problem still exists try to find if you are using - or was using - other Apache server (for example XAMPP server), if so try to remove it and after removing it, go to regedit by:

    • press on keyboard the "windows" button + "r" button, this will open the Run command
    • type "regedit" (without "")
    • open Edit menu then Find (you can press "CTRL" button + "F" button)
    • search for anything belongs to the other apache server and delete it (You should be careful while you are doing this step)
    0 讨论(0)
  • 2020-12-03 08:16

    Got it! Under the WAMP tray icon, left-click context menu > Apache > Service > Test Port 80, it said :

    "Your port 80 is actually used by - Info not available, Must be Skype"

    Well, so off goes Skype, WAMP > Restart All Services, and Localhost shows "WAMP5 Homepage":


    (source: wampserver.com)

    And, phpMyAdmin works, PHP scripts execute too. Wow!

    So now I can dubug in the proper fashion! Thank you StackOverflow!

    0 讨论(0)
  • 2020-12-03 08:19

    Well, in case the above still dont help as it was with me, follow these steps:

    • Change your apache port (from httpd.conf) to something else, say 8056, at the two places where port 80 occurs in the file
    • Then change your browser proxy appropriately. i.e the proxy to "localhost" and the port to your "8056".
    • Save the file and restart Wamp Services
    • Launch localhost in your browser

    Hope it works! A better approach is really needed.

    0 讨论(0)
提交回复
热议问题