I feel like an idiot because I can't figure this out. For years now I have been coding my html/php right on the server. I finally downloaded komodo and absolutely love the html editor.

However, most of my pages have a .php extension (usually so I can use an include to include the header/footer, etc.). If I choose a php file in Komodo it won't preview the file and if I try to view the file in Chrome it just outputs as html text.

I am assuming I have to install php or something. I am using a Mac with Mountain Lion. I've tried following the instructions to install php or to change my path to my php.ini and I am totally lost.

Can anyone help?

05-06-2013, 02:36 PM

jazzmasterkc

A browser doesn't know what to do with php because it is not processed in the browser, only on the server. Set up a local host and then try it.

05-06-2013, 05:23 PM

DrMarie

Thank you. That's exactly the part I don't understand though. How do I set up a local host? Thanks.