Install PHP4 and MySQL in Windows2000

Source: Internet
Author: User
My php4and mysqlsoftware packages are php-4.0.1pl2-win32.zip1_mysql-3.23.19-beta-win.zip. Install mysql first and use winzip8.0 to open the software package for full installation. the default installation path is c: mysql. after the installation is complete, open "run" in the "start" button and enter the command: C: mysqlbinmysqld-nt.exe -- install, and execute; mysql installation

My php4and mysqlsoftware packages are php-4.0.1pl2-win32.zip1_mysql-3.23.19-beta-win.zip.

Install mysql first and use winzip8.0 to open the software package for full installation. the default installation path is c: \ mysql;
After the installation is complete, open "run" in the "start" button, enter the command: C: \ mysql \ bin \ mysqld-nt.exe -- install, and execute;
Open "program" = "management tools" = "services" under "start", find the "mysql" service, and start it;
So far, mysql installation is complete, restart win2000adanced server. You can also enable C: \ mysql \ bin \ winmysqladmin.exe. to use it for the first time, you need to set the administrator name and password. I will set it to root and (yourpassword) respectively ). When it is disabled, the program automatically creates a small "traffic light" icon under the status line.
Install php4, decompress the software package with winzip to c: \ php4, and copy all dll files in the directory to c; \ winnt \ system32, without overwriting the existing dll files and connecting php.exe and php. copy ini-dist files to c: \ winnt;
Set c: \ winnt \ php. ini-dist is renamed as php. ini, open it, and find Windows Extensions. remove ";" Before extension = php_calendar.dll, extension = php_zlib.dll, and extension = php_ldap.dll to close the file.
Open "program" => "administrative 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": "All not allocated" to "(your host's IP address, for example, 202.195.243.131 )"; "TCP port" is "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: \ WINNT \ php.exe % s" in the executable file, and enter ". php, and click OK ".
Next, select the "ISAPI filter" page, click the "add" button, enter "php" in the "filter name", and enter "C: \ WINNT \ system32 \ php4isapi. dll, and click OK ".
Next, select the "document" page, click the "add" button, enter "index. php" in "default document name", click "OK", and raise it to the highest level. You can also add common php file names, such as "default. phtml" and "index. php3.
Close all windows. after restarting the system, you can open IE browser for testing.

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.