Wednesday, 29 July 2009

MySQL / PHP database testing server setup in Dreamweaver

When setting the testing server for PHP / MySQL database connections in Dreamweaver the testing server settings are very similar to the remote info / FTP server except the following:

1) Ensure that the Host Directory is set to the root of the main site pages (e.g. htdocs/)

2) Ensure the URL prefix is set to http://www.domain.com and not http://ftp.domain.com (Dreamweaver sets this as ftp. automatically but this has to be changed to www. for the auto connection definition to install and connect correctly.

No comments: