Server appears to have lost ability to read PHP files with LAMP

Posted by OtagoHarbour on Server Fault See other posts from Server Fault or by OtagoHarbour
Published on 2012-09-25T03:37:06Z Indexed on 2012/09/25 3:39 UTC
Read the original article Hit count: 493

Filed under:
|
|

I have LAMP installed on a PC that is running Ubuntu 11.10. LAMP was running fine but I had to restart the PC because Unity was messing up (as it often does) and the tool bar had disappeared. When it started up, I was unable to fire up any php files. I have a file index.php in /var/www. It is owned by www-data as is the directory that it is in. The LAN address of the server is 192.168.1.10. However when I type 192.168.1.10 into the URL box on Mozilla FireFox, I get

Unable to connect      

      Firefox can't establish a connection to the server at 192.168.1.10

This server is connected to another server on the LAN that has the LAN address 192.168.1.4. When I type 192.168.1.4 into the Firefow URL box on 192.168.1.10, I see the display associated with index.php on 192.168.1.4. Why can it not display its own /var/www/index.php?

Any assistance with this would be greatly appreciated, Peter.

© Server Fault or respective owner

Related posts about php

Related posts about lamp