I'm running Ubuntu 11.04 and have LAMP installed. I store my PHP files at.... var/www/php
When I open a file with Firefox, it will open like this... file:///var/www/PHP/test.php -- (which does not work).

If I change the address to... localhost/PHP/test.php
It will render the PHP code just fine. Is there a way to tell the files in var/www to open starting with localhost/?

I'm pretty new to this so any help will be appreciated. Mark