PHP MySQL
PHP/MySQL Step-byStep
These instructions as initially added on 7/24/2006 contain specific information for Mac OSX-based computers. Windows and Linux users, please add relevant sections for your OS.
CONFIGURE MAC OSX Turn Personal Web Sharing on (System Preferences > Sharing > Personal Web Sharing)
Set up site in Dreamweaver
(Unless specified, defaults are OK.) Site > New Site Site name: My PHP Site (whatever you want here) Local root folder: Macintosh HD:Library:WebServer:Documents:(subdirectory:) Default images folder: Macintosh HD:Library:WebServer:Documents:images HTTP address: use localhost OR set up an alias using the lovely Network Connection Request Form.
In Dreamweaver, create new PHP page
File > New > General Tab Category: Dynamic page Dynamic page: PHP
Save to directory you set up earlier as "index.php."
INSTALL PHP (If not already installed; use latest stable package from Marc Liyanage at entropy.ch.)
INSTALL MYSQL (If not already installed; use generally available (GA) release from mysql.com.
The following sections need to be written:
CONFIGURE WINDOWS Turn Personal Web Sharing on (System Preferences > Sharing > Personal Web Sharing) Set up site in Dreamweaver
CONFIGURE LINUX (Will need substitute for Dreamweaver)
NOTE: PHP TAG SYNTAX
While there are several ways of coding your PHP tags, the following general syntax has become the standard:
<?php replace this text with tag name ?>