Skip to main content

Thread: PHP - open in firefox: localhost...?


i'm running ubuntu 11.04 , have lamp installed. store php files at.... var/www/php
when open file firefox, open this... file:///var/www/php/test.php -- (which not work).

if change address to... localhost/php/test.php
render php code fine. there way tell files in var/www open starting localhost/?

i'm pretty new appreciated. mark

quote posted dmsherrill view post
i'm running ubuntu 11.04 , have lamp installed. store php files at.... var/www/php
when open file firefox, open this... file:///var/www/php/test.php -- (which not work).

if change address to... localhost/php/test.php
render php code fine. there way tell files in var/www open starting localhost/?

i'm pretty new appreciated. mark
the way can open php files through web server (by using http://localhost address in web browser).

server can't used open, or execute random files clicking on them in file manager or that, has pretty strict configuration files , directories it's supposed use, , isn't made work local users opening files file manager.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] PHP - open in firefox: localhost...?


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account