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 complete installation. the default installation path is c: \ mysql. after the installation is complete, open "run secrets" in the "start" button.

Install mysql first, and use winzip8.0 to open the software package for complete 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 perform;
Open "program" = "governance tool" = "service" 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. when you use it for the first time, you need to set the administrator name and password. I will set it to root and (yourpassword ). After it is closed, the program creates a small "traffic light" icon under the status line.
Now start to install php4, first decompress the software package with winzip to c: \ php4, and then copy all the 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, find Windows Extensions, and close the file by dropping ";" Before extension = php_calendar.dll, extension = php_zlib.dll, and extension = php_ldap.dll.
Open "program" => "governance tool" => "internet service controller" 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 "Use program settings", and click the "add" button in the new window; enter "C: \ WINNT \ php.exe % s" in the "executable file", and enter ". php ", 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 to test.

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.