Network Computer does not execute php code in apache

Discussion in 'Apache' started by reviewerjoe, Jan 17, 2008.

  1. #1
    Hi Guys,

    I have a computer[comp1] connected to a server that i am using as a host for a web application that i designed. This computer has apache, php and mysql all installed properly and can execute the pages correctly when browsed from [comp1]. This computer has a shared folder on the server which is where this web application resides.

    When i browse to the web application from [comp2] it does not execute the php in the users browser all it does is open the php file as if it were a text file.

    Is there something i can change in apache to get this to work properly?

    Hopefully i was descriptive enough if not please tell me what other information you need to know.
     
    reviewerjoe, Jan 17, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Hello,

    Are these computers both within an internal network (i.e. both have a 192.x.x.x or other non-routeable address?). If so, you can browse to Comp1's IP, and execute the PHP file(s).

    Hope this helps,

    Jay
     
    jayshah, Jan 21, 2008 IP