By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,045 Members | 1,384 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,045 IT Pros & Developers. It's quick & easy.

PHP local installation without access to port 80

P: 2
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.
Apr 3 '10 #1
Share this Question
Share on Google+
5 Replies


chathura86
100+
P: 227
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
Apr 3 '10 #2

Markus
Expert 5K+
P: 6,050
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.
Apr 3 '10 #3

P: 2
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).
Apr 5 '10 #4

chathura86
100+
P: 227
check these link for default ports.

http://www.iss.net/security_center/a...ts/default.htm
http://en.wikipedia.org/wiki/List_of...P_port_numbers

this will help you to find a available port.

normally 80 and 8080 is used for web servers

Regards
Apr 5 '10 #5

Markus
Expert 5K+
P: 6,050
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.
Apr 5 '10 #6

Post your reply

Sign in to post your reply or Sign up for a free account.