--
AlexRoman - 19 Nov 2004
Web development under Windows
Downloading
Installing
Installing Apache 2
- Just use the default options, but do change the Administrator's Email Address to your email address
- Do a typical installation
- Now in your browser, if you are not firewalled or anything, if you point to http://hostname.uwaterloo.ca/ you should see the Test Page for Apache Installation - hostname is the hostname of your computer
Installing MySQL 4.x
- Extract the zip and run setup.exe from archive
- Do a typical installation, Skip the Sign-Up, then configure the MySQL server
- Use Standard Configuration and leave the default options, but:
- Enter a good root password
- Don't create an Anonymous Account
- Done!
Installing PHP 4
Further Apache 2 configuration
- At around line 290 of the httpd.conf file, change UserDir "My Documents/My Website" to UserDir "My Documents/public_html"
- A bit further down, uncomment all the lines between (and including) and
- Change My Website to public_html
- Change DirectoryIndex index.html index.html.var to DirectoryIndex index.php index.php3 index.html index.html.var
- Save the file
Testing
- Create My Documents\public_html
- Create public_html\index.php and enter this into index.php:
- Save the file and point your browser to http://hostname.uwaterloo.ca/~youruserid/
- It should print out a bunch of information about your current setup
MySQL User Account
Perl 5.8
PHPMyAdmin
$cfg['blowfish_secret'] = 'your_passphrase';
$cfg['Servers'][$i]['auth_type'] = 'cookie';