How to install Php+mysql on Win2000

Source: Internet
Author: User
Tags filter copy install php iis ini mysql window zip
MySQL with IIS,PHP4 and MySQL package is Php-4.0.1pl2-win32.zip, Mysql-3.23.19-beta-win.zip. Windows2000 (p) + IIS 5.O

1: Install MySQL

After the setup all ok but Run:c:\mysql\bin\mysqld-nt.exe--install "Start" button, "program" = "management Tool" = "service", find "MySQL" service, start; MySQL Setup ok!

2: Install PHP4

Unzip to C:\PHP4, then copy all the DLL files under the directory to C;\WINDOWS\SYSTEM32 (parcel subdirectory), do not overwrite existing DLL files, and then copy Php.exe and php.ini-dist two files to C:\Winnt under the directory. ; rename C:\winnt\php.ini-dist to PHP.ini, and open it and find it; Windows Extensions, will Extension=php_zlib.dll, Extension=php_ldap.dll before the ";" removed. Modify Extension_dir =./Extension_dir = c:\windows\system\ modify under [MySQL] Bar
Mysql.default_port = 3306
Mysql.default_host = localhost
Mysql.default_user = root

Open the Start button under program = "Administrative Tools" = "Internet Services Manager", select "Default Web Site", and open its Properties window. Under the Web Site page, change the IP address: Your machine's IP address, for example, 192.168.0.29, and TCP port is 80.

Next, select the Home Directory page, click the Configure button under Application Settings, and click the Add button under the new window;
In executable, enter "C:\WINNT\php.exe%s%s", enter ". php" in "extension", and click "OK".
In executable, enter "C:\WINNT\php.exe%s%s", enter ". PhP3" in "extension", and click "OK". (Support for Phpadmin)

Next, select the ISAPI filter page, click the Add button, enter "PHP" in the filter name, enter "C:\WINNT\system32\php4isapi.dll" in the executable, and click OK. Click the Add button, enter "PhP3" in Filter name, and enter in the executable file
"C:\WINNT\system32\php4isapi.dll", click "OK". Next, select the Documents page, click the Add button, enter "index.php" in "Default document Name", and click OK

3: Install Phpadmin


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.