How to install PHP + MYSQL on windows2000 (IIS Version)

Source: Internet
Author: User

The iis,php4and mysqlsoftware packages are php-4.0.1pl2-win32.zip1_mysql-3.23.19-beta-win.zip. Windows2000 (p) + IIS 5.O

1: Install mysql

After setup all is OK but run: C: mysqlbinmysqld-nt.exe -- install programs under the start button = Administrative Tools = service, find the mysql service, start; mysql setup OK!

2: Install php4

Decompress the package to c: php4, and copy all dll files in the directory to c. Under windowssystem32 (package subdirectory), do not overwrite the existing dll files. copy the ini-dist files to c: winnt and c: winntphp. ini-dist is renamed as php. ini, and open it,

Find; Windows Extensions,

Remove ";" before extension = php_zlib.dll and extension = php_ldap.dll. Change extension_dir =./to extension_dir = c: windowssystem and modify it in the [mysql] column.

Mysql. default_port = 3306

Mysql. default_host = localhost

Mysql. default_user = root

Open "program" = "Management Tools" = "internet Service Manager" under the "Start" button, select "Default web site", and open its "properties" window. On the "web site" Page, change "ip address": the IP address of your host, for example, 192.168.0.29) ", and" TCP port "to" 80 ".

Next, select the "main directory" page, click the "configuration" button under "application settings", and click the "add" button in the new window;

Enter "C: WINNTphp.exe % s" in "executable file", enter ". php" in "extension", and click "OK ".

Enter "C: WINNTphp.exe % s" in "executable file", enter ". php3" in "extension", and click "OK ". (PHPADMIN Support)

Next, select the "ISAPI filter" page, click the "add" button, enter "php" in the "Filter Name", and enter "C: WINNTsystem32php4isapi" in the "Executable File. dll, and click OK ". Click "add". In "Filter Name", enter "php3", and in "executable file", enter

"C: WINNTsystem32php4isapi. dll" and click "OK ". Next, select the "document" page, click the "add" button, enter "index. php" in "Default document name", and click "OK"

3: Install phpadmin

Decompress the package to c: admin and add the WEB Share Name of C: adminphpMyAdmin to ADMIN. Then, Use HTTP: // 192.168.0.29 (the IP address of your computer)/ADMIN to manage MYSQL.

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.