Install PHP+MYSQL (IIS version)

  
on Win2000

The packages for IIS, php4 and mysql are php-4.0.1pl2-Win32.zip, mysql-3.23.19-beta-win.zip. Windows2000(p) + IIS 5.O

1: Install mysql

after setup all is ok but run : C:mysql?inmysqld-nt.exe --install "Start" button "Program" = "Administrative Tools" = "Services", find the "mysql" service, start; mysql setup ok!

2: Install php4

Unzip to c:php4 , then copy all the dll files in the directory to c; windowssystem32 (wrap subdirectory), do not overwrite the existing dll file; then copy the php.exe and php.ini-dist files in the directory to c: Under winnt; rename c:winntphp.ini-dist to php.ini and open it, find it; Windows Extensions, remove the ";" before extension=php_zlib.dll, extension=php_ldap.dll. Modify extension_dir = ./For extension_dir = c:windowssystem Modify under the [mysql] column
mysql.default_port = 3306
mysql.default_host = localhost
mysql.default_user = root

Open the "Start" button "Program" = "Administrative Tools" = "Internet Service Manager", select "Default Web Site", open its "Properties" window mouth. Under the "website" page, change "IP address": your machine's ip address, for example: 192.168.0.29)"; "TCP port" is "80".

Next, select "home directory" Page, click the "Configure" button under "Application Settings", click the "Add" button in the new window;
Enter "C:WINNTphp.exe %s %s" in the "Executable File" Enter ".php" in "Extension" and click "OK".
Enter "C:WINNTphp.exe %s %s" in "Executable" and enter "." in "Extension". Php3", click "OK". (Support for PHPADMIN)

Next, select the "ISAPI Filter" page, click the "Add" button; enter "php" in the "Filter Name", in Enter "C:WINNTsystem32php4isapi.dll" in "Executable File", click "OK". Click the "Add" button; enter "php3" in "Filter Name" and enter
in "Executable File" "C:WINNTsystem32php4isapi.dll", click "OK". Next, select the "Documents" page, single "Add" button; enter "index.php" in "Default Document Name", click "OK"

3: Install phpadmin

Unzip to C:admin and add C:adminphpMyAdmin After the WEB share is named ADMIN, use Http://192.168.0.29 (the ip address of your machine) /ADMIN to manage MYSQL.

Copyright © Windows knowledge All Rights Reserved