Connecting Tech Pros Worldwide Forums | Help | Site Map

Accessing php files over lan problem

h
Guest
 
Posts: n/a
#1: Mar 13 '08
Hi,

I am trying to build a simple web database that will be accesible from
only local area network.

I have installed EasyPHP package on WinXP system and allowed access
one other PC in my LAN.
On the host PC everything seems fine I access the login page but when
i try to access the server from the other machine i can acces HTML and
other files but php is not responding.What can cause this ?

Thank you very much in advance.

Erwin Moller
Guest
 
Posts: n/a
#2: Mar 13 '08

re: Accessing php files over lan problem


h wrote:
Quote:
Hi,
>
I am trying to build a simple web database that will be accesible from
only local area network.
>
I have installed EasyPHP package on WinXP system and allowed access
one other PC in my LAN.
On the host PC everything seems fine I access the login page but when
i try to access the server from the other machine i can acces HTML and
other files but php is not responding.What can cause this ?
>
Thank you very much in advance.
Hi,

PC1: Your PHP machine + webserver (say on 10.0.0.1)
PC2: Another PC in your LAN. (say on 10.0.0.2)

So from PC1, you can use:
http://localhost/somephpfile.php
or
http://10.0.0.1/somephpfile.php

and that works allright?
PHP works and html works.
Correct?

And from PC2:
http://10.0.0.1/somephpfile.php
fails, but
http://10.0.0.1/somehtmlfile.html
works.

Do I understand that right?

Erwin Moller
Closed Thread


Similar PHP bytes