PHP is a technology that is ahead of ASP. Compared with ASP, it has the advantages of fast speed, high stability, cross-platform, and easy to learn. Almost all the operating systems used by ASP learners are Windows platforms, and IIS is undoubtedly installed on them. The server support required by PHP is mainly provided by Apache. In fact, IIS can also provide such support by taking the following steps:
1. Download PHP. Recommended Web site: http://www.onlinedown.net/soft/1774.htm after downloading extract to a folder, it is recommended to unzip: C: php. This folder description will be used in the following sections.
2. copy and paste all the files in the dlls folder in C: php to C: winnt ystem32. Copy php4ts. dll in C: php to C: winnt ystem32.
3. Use notepad to open the php. ini-dist file under C: php. Find the following line: extension_dir = "./" and change it to extension_dir = C: php to save it to C: winnt ystem32. Note: The name is php. ini.
4. open Control Panel> Administrative Tools> internet Service Manager> open the directory tree on the left> default web site> right-click> Properties> isapi filter> Add-> Filter Name: php; Executable File: C: php apiphp4isapi. dll and then open the home directory under the default web site properties panel-> Configure-> Add-> executable file: C: php apiphp4isapi. dll; Extension: php.
Okay, you're done!