PHP local installation without access to port 80

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NemoPlus
    New Member
    • Apr 2010
    • 2

    PHP local installation without access to port 80

    Dear,

    I would like to have PHP+MySQL locally on my computers with WindowsXP. I have tried XAMPP and WampServer, but both require to have port 80 opened. I have a laptop from my work. I assume that my virus scanner blocks port 80 and I do not have any control on the settings of this scanner, so I'm not able to open port 80.

    Are there other ways to have PHP locally? Do some kind of sandboxed environments or emulators exist where you don't need to open ports?

    Thanks for the help.
  • chathura86
    New Member
    • May 2007
    • 227

    #2
    you can install apache and then install php (separately)
    you can set any port for apache so the web server will work on that port

    for the port 80 problem, i heard that Skype uses the port 80. i really
    dont know about this, as i did not had any problem. but give it a try. remove skype
    and install XAMPP or WampServer and check.

    Regards
    Chathura

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #3
      Apache runs off a configuration file -- typically, httpd.conf -- and in that file you can specify the port that Apache should listen to for incoming connections.

      Mark.

      Comment

      • NemoPlus
        New Member
        • Apr 2010
        • 2

        #4
        Hello,
        Thank you very much for your replies. I'm not that much of a computer expert. In which port should I replace 80 into? Trying a few randoms did't work. Which ports are generally enabled? (I cannot access my virus scanner/firewall settings).

        Comment

        • chathura86
          New Member
          • May 2007
          • 227

          #5
          check these link for default ports.




          this will help you to find a available port.

          normally 80 and 8080 is used for web servers

          Regards

          Comment

          • Markus
            Recognized Expert Expert
            • Jun 2007
            • 6092

            #6
            Change it to whatever unused port you want, and then when trying to access your website, use the port number: http://example.com:898 - where 898 is your new port number.

            Comment

            Working...