Jump to content

opening .php file in browser


Recommended Posts

I work on ubuntu 10.10.have installed apache2 and php5 using terminal but when i created a .php file( <?php  phpinfo(); ?> ) and tried opening in my browser by giving the url :localhost/info.php it pops up the widow asking " Do you want to open or save the file".If I choose open it asks " Which application do you want to open with?"

Please help 

 

[attachment deleted by admin]

beg your pardon but I simply wrote sudo apt-get install php and now when I write php -v..the terminal gives a complete info about the version of php installed , doesnt this mean that php is installed properly, moreover how do I figure out the location/dir  having php?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.