PHP is a technology ahead of ASP. Compared with ASP, it has the advantages of fast speed, high stability, cross-platform, and easy learning. The OS used by ASP learners is almost all 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. The specific steps are as follows:
1. Download PHP. Recommended URL: http://www.onlinedown.net/soft/1774.htm After downloading, unzip it to a folder. Recommended unzipping location: C:php. This folder description will be used below.
2. Copy and paste all the files in the dlls folder in C:php to C:winnt system32. Then copy php4ts.dll under C:php to C:winnt system32.
3. Use Notepad to open the php.ini-dist file under C:php. Find the following line: extension_dir = "./" change it to extension_dir = C:php and save it to C:winnt system32. Note: the name is php.ini
4. First open the Control Panel -> Management Tools - 〉Internet Service Manager-〉Expand 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->Configuration->Add->Executable file: C:php apiphp4isapi.dll; extension: php.
Okay, you’re done!