Quick Start Guide
301
G
APPENDIX G
Setup for Sample PHP
Site
Macromedia Dreamweaver 8 comes with sample PHP pages to let you
build a small web application. This chapter describes one way to set up the
sample application using Microsoft Internet Information Server (IIS). For
more information on this web server, see “Installing a Web Server”
on page 231. If you’re using a different web server, see Chapter 23, “Setting
Up a Web Application” in Using Dreamweaver.
If you’re a Macintosh user, you can either connect to a remote PHP server
or develop PHP sites locally using the Apache web server and PHP
application server installed with your operating system. For setup
information, see the following websites:
■ http://developer.apple.com/internet/opensource/php.html
■ www.entropy.ch/software/macosx/php/
Setting up a web application is a three-step process. First, configure your
system. Second, define a Dreamweaver site. Third, connect the application
to your database. This setup guide follows this three-step process.
This chapter contains the following sections:
Setup checklists for PHP developers . . . . . . . . . . . . . . . . . . . . . . 302
Configuring your system (PHP) . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
Defining a Dreamweaver site (PHP) . . . . . . . . . . . . . . . . . . . . . . . . .311
Connecting to the sample database (PHP) . . . . . . . . . . . . . . . . . . 315