1. Download two php installation packages: one is the install version and the other is the zip version.
2. Run the install Version and install it in standard mode. During installation, make sure that your iIS version is correct.
2000 server: iis4 or later, and server: iis 6.
Associate with. php,. phtml. php3, and other file types. Set d: php as the installation directory.
3. Don't worry, it cannot be used now. decompress the zip file to the d: php5zip folder, copy all the files and directories under the directory, and paste them to d: php to overwrite all the files below.
4. C: copy the dll extension file under PHPext to c: windowssystem32, * for the guests User Group (on my machine, different anonymous users are set for each site, these users belong to the guests group. If you only have one ISUR _ your machine name, you only need to set the ISUR _ your machine name permission) these permissions for reading and running PHP5 dll files.
5. * Permission for reading and running php.exe, php-cgi.exe, and php5isapi. dll from the guestsuser group.
6. * Set c: windowsphp. ini or c: winntphp. ini to guests. The user group can: Read.
7. Finally, do not forget to add index. php or default. php to site properties in IIS -->
8. MySQL enabled:
Note the php_mysqli.dll extension in c: windowsphp. ini or c: winntphp. ini.
Extension = php_mysql.dll is added.
9. Okay. If you want to add graphics or other functions, modify php. extension in ini, copy the relevant dll files to c: windowssystem32, and grant the user group the permissions to read and run the PHP5 dll files.