Install PHP4 and MySQL_PHP in Windows2000

Source: Internet
Author: User
Install PHP4 and MySQL in Windows2000. 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: mys first installs mysql and uses 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: mysqlinmysqld-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: mysqlinwinmysqladmin.exe. when using 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 and copy the software package to c: example and php. ini-dist using winzip to c: winnt;
Set c: winntphp. 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" = "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": "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: WINNTphp.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: WINNTsystem32php4isapi" in the "executable file. 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.

After the installation is complete, open "run" in the "start" button and enter the command: C: mys...

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.