Developing PHP locally
I'm going to be developing a PHP-based site, but don't need to set up any live
database connections in DW. However, I'd like to test my code locally, so I
will be installing the Apache web server and PHP extensions to be accessible
via "http://localhost/..." etc.
To do this, I assume that I should define my site so it is based in a
subdirectory under the web server's directory tree. But is there a way to use
DW's browser preview feature and have it use a local web server connection
instead of accessing the page by a direct file reference? That is, preview
"http://localhost/myproj/index.php" instead of "C:\something\myproj\index.php",
which is not at all the same thing?
Any other tips for local PHP-based development?
|