-1

I have already installed lampserver in ubuntu 14.04. when i try to run http://'127.0.0.1', it shows it works. but it does not work when i try to run http://'127.0.0.1'/test.php. I have already created the test.php file in var/www/ . I cannnot figure out what is wrong with it. I have already installed php5 and mysql but it does not work.

2
  • Do you get an error message on screen ? what error message do you get in the apache error log (tail -f /var/log/apache2/error.log) ?
    – NGRhodes
    May 30, 2014 at 11:56
  • Possible duplicate of askubuntu.com/questions/448944/…
    – TuKsn
    May 30, 2014 at 13:02

1 Answer 1

0

Try placing your php file in:

/var/www/html

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .