I have apache2 working and can run php files by navigating to localhost using chrome browser. However I'd like to be able to launch the files within the browser from the command line.
google-chrome myfile.html
works but google-chrome myfile.php
doesn't, even though I'm launching it from my apache root.
Any help much appreciated.