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

install PHP

P: 31
Hi everyone..

i'm quite new in this language.. I have install PHP in my pc. But, after install it, other pc cannot access my localhost...

For your information, i have run PHP 4.3.11...
Can anyone tell me how to solve this problem?

thank you..
Jul 13 '06 #1
Share this Question
Share on Google+
5 Replies


Banfa
Expert Mod 5K+
P: 8,916
Have you installed a web-server as well like Apache? PHP is not a web service it is a CGI (or command line) language that is used by a web-server.
Jul 13 '06 #2

P: 31
I have install IIS for the PHP. Beside that, i have install Apache for my Java program..Is it because of that?
I have define http://localhost is for IIS and localhost:8080 is for Apache..
Other pc can access my http://localhost:8080, but cannot access my http://localhost
Jul 14 '06 #3

Banfa
Expert Mod 5K+
P: 8,916
This sounds like an IIS issue. I am afraid I have no knowledge of IIS, I suggest you try a cross post in the IIS forum.
Jul 14 '06 #4

sashi
Expert 100+
P: 1,754
Hi there,

first of all you need the understand the term "localhost".. it's only applicable for the local computer running the webserver.. when you want to access the webserver from another pc you cannot use the localhost as your address.. but instead.. use the IP address of the webserver.. i.e.

http://192.168.100.1:8080
http://192.168.100.1:80

hope it works.. good luck my fren.. :)
Jul 14 '06 #5

P: 31
its work...!!!
thank you...
actually, it is because of firewall...
when i off my windows firewall, its work...
but, then i install other firewall (sygate/zone alarm).. it still work..
anyway thank you..
Jul 17 '06 #6

Post your reply

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