Let's not talk about the advantages. D. What are the disadvantages... is CGI (reference official article: weconsiderinstallingPHPlikethissuicidal .) i. This article involves the extremely software version: Windows2000Professional/XPApache1.3.28FORWINMicrosoftInternetServ. I will not discuss the advantages of D... is CGI (reference official article: we consider installing PHP like this suicidal .)
Let's talk about the following methods:
I. This article involves the extremely software version:
Windows 2000 Professional/XP
Apache 1.3.28 FOR WIN
Microsoft Internet Server Information (IIS6)
PHP 4.3.3 (4.3.5), PHP 5.0.0 beta (5.0.0RC1)
MySQL 3.23.57 (3.23.58)
II. general steps: (2 and 3)
1. install different versions of PHP
2. install APACHE and set APACHE and PHP
3. install IIS and set PHP versions in IIS [note 1]
4. install MYSQL
3. preparations before installation:
COPY the required program to each folder. this document will follow the following directory structure. you can modify it as needed ^:
C:/httpd/ApacheC:/httpd/MySQLC:/httpd/PHP4C:/httpd/PHP5C:/httpd/php-includesC:/httpd/phpMyAdminC:/httpd/tmpC:/httpd/www
Go to the C:/WINNT/system32/drivers/etc folder (XP is C:/WINDOWS/system32/drivers/etc) and find the hosts file (no ?! @ _ @ So...: D), add
127.0.0.1 php4 # Waiter PHP 4 127.0.0.1 php5 # Waiter PHP 5
Roar... if you know ~~ Modify other names by yourself. 8D. let's continue...
Save the file...