php files not opening in firefox
Ashim Kapoor
ashimkapoor at gmail.com
Wed Feb 9 14:55:32 UTC 2011
> That is not the right way to open php scripts, you should navigate to them
> using yout browser. If you simply double click the php file, firefox will
> load something like:*
>
> file:///var/www/myscript.php*
>
> It won't work because php needs to be interpreted on demand. Apache, your
> webserver runs this task diferently it invokes the php interpreter runs it
> and the result is then presented to the browser. For that you to access,
> thru your browser, something like
>
> *http://localhost/myscript.php*
>
>
How would i open this file:///var/www/Php and MySql Bible/ch4/file1.php with
the localhost way ?
As far as i remember till today afternoon ALL php files withing the var/www
folder would open in FF by clicking on them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110209/d989ea79/attachment.html>
More information about the ubuntu-users
mailing list