Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Accessing php files over lan problem

Question posted by: h (Guest) on March 13th, 2008 02:05 PM
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.
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Erwin Moller's Avatar
Erwin Moller
Guest
n/a Posts
March 13th, 2008
04:15 PM
#2

Re: Accessing php files over lan problem
h wrote:
Quote:
Originally Posted by
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

 
Not the answer you were looking for? Post your question . . .
183,961 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors