I installed php5,apache2.52, and mysql 4.1 and everything works together as expected;however, i have 2 small improvements which I need help

1- when i type 127.0.0.1/phpinfo.php in IE's address bar, everything is cool. It won't work without .php thing

what do i need to do to make it work if I type 127.0.0.1/phpinfo in IE's address bar (there is no .php extension this time) ?

2- when i click on a php file on a desktop, i want IE to open it and run php script immediately WITHOUT me having to put it in a apache http folder and opening IE and typing 127.0.0.1/example.php in IE's address bar to make it work.

how can i do that.?

thank you very much

    1 - make a folder called phpinfo and in this folder place a default.php page.

    when you type http://127.0.0.1/phpinfo, this default page will run.

    2 - you cant. the script needs to reside on the server.

      Write a Reply...