I contacted PHP for some time, has been in the company configuration of the environment under development, always want to try to install their own, and finally my classmates gave me this opportunity. Now I will myself according to the article of the site to publish my views and a little more.
One, install MySQL.
First download a package is necessary, and then extract it to your temporary directory, click on the installation program, according to the instructions in the program to install the end.
2nd, according to the article of this site should be in the "Start"---"Run" key such as "C:\mysql\bin\mysqld-nt-install" to run the program, and then in the "management tool" to find its "MySQL" and make it run, but I I follow its method is not, Finally, I will go directly to the MySQL installation directory and run c[your installation disk]:mysql\bin\win\mysqladmin.exe. After (you must type your user name and password for the first time) the traffic lights that the user longs for appear. By now MySQL has been installed.
Second, install php4.0
Of course, it is the package to extract the package into your installation directory, and then the directory of Php.exe and php.ini-dist two files copied to C:\Winnt, the c:\winnt\php.ini-dist renamed to PHP.ini, and open it, find; Windows Extensions, will Extension=php_calendar.dll (this file may have some packages that I don't have, but I don't have to set it up or use it as usual), Extension=php_zlib.dll, Extension=php_ldap.dll ..... (These should be included in your PHP *.dll) before the ";" removed; if you want to modify your upload temp directory can find Paths and directories this column, after it:; upload_tmp_dir= add to your storage directory! Close the file when you are finished. Then copy all the DLL files under the directory to C;\winnt\system32, do not overwrite the existing DLL files, open the "Start" button under "Control Panel" under "Administrative Tools" under "Administration Tool", select "Default Web Site", open its "properties" Window. Under the Web Site page, change the IP address: "All Unassigned" (the IP address of your machine, for example: 127.0.0.1 is generally the default for individuals is 127.0.0.1); "TCP port" is "80".
Next, select the Home Directory page, click the Configure button under Application settings, click the Add button under the new window, enter "C:winntphp.exe%s%s" In the executable, enter ". php" in the extension, and click "OK". Of course you want other extensions such as *.php3 and so on can be added again: "C:winntphp.exe%s%s", enter ". PhP3" in "Extension" and click "OK".
Next, select the ISAPI filter page, click the Add button, enter PHP in the filter name, enter C:\WINNT\system32\php4isapi.dll in the executable file, and click OK.
Next, select the Documents page, click the Add button, enter "Index.php3" in the "Default document name" (These are certainly the files you want to add to your environment by default), click "OK", and increase it to the highest level.
Close all windows, restart the system, you can open IE browser to test.
Ha ha. is not out, go out to play ...
"The copyright of this article is owned by the author and house Orso near net, if need to reprint, please specify the author and source"
The above describes the Windows XP Professional Servic installation Php40+mysql in Windows IIS5, including the contents of the Windows XP Professional Servic, You want to be helpful to a friend who is interested in PHP tutorials.