1. Download the Windows version of php 5.3.
2. Configure the php.ini file in the php installation directory: remove the ";" in front of date.timezone and change it to date.timezone = Asia/Shanghai
3. When installing IIS7, check "World Wide Web Services"->"Application Development Functions"->"CGI", "ISAPI Extensions", and "ISAPI Filters".
4. Configure IIS:
IIS7->"Handler Mapping"->Add module mapping->Request path:*.php
Module selection: "FastCgiModule"
Executable file (optional): Select php-cgi.exe
in the php directoryName:php
After completion, click Confirm and ask if you want to create a FastCGI application pool for it at the same time. Just continue.
5. Create an application and point to the directory where the php program is located, and select the corresponding application pool.
6. Create new test.php:
phpinfo()
?>
ok, thats all right, the long-lost php system configuration information~