is there a way to view local PHP files in my browser without running Apache or anything? I'm using Snow Leopard.
feedback
|
|
A browser can not show you the output of a PHP file. This is because a PHP file needs to be run by an interpreter (the php interpreter). A browser has no means to do this, it just expect HTML code or in the best cases it will show you the content of .php file as a text. | |||
|
feedback
|
|
If you don't want to argue with apache configuration (which is shipped with snowleopard), you can install MAMP(the free version) ! I've a very easy to use Apache + MySQL solution, that will allow you to run php pages locally. | |||
|
feedback
|
