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...