General discussions related to php
1 post • Page 1 of 1
It sounds like you've set a file association for the .php extension to notepad. That shouldn't stop you from being able to navigate to the file in your browser by going to localhost/whatever/filename.php but if you are wanting to be able to just double click to open the file in your browser, you can just right click on a php file, choose open with, then 'choose program' and then select your browser, and make sure the checkbox at the bottom to "always open with selected program" is checked. That said, you are not going to see what you expect if you open it in your browser without navigating to it. if you want the php to actually be procssed, you need to navigate to it as a page through the webserver, instead of as a file on your drive. Otherwise the php is not pre-processed and your browser will render it poorly at best.