PHP for PHP is now available in version 5.3.3, but there are several different versions to choose from when downloading. That's VC6 X86 and VC9 X86. First I will answer: what is VC6? VC6 is Legacy Visual Studio 6 compiler, which is compiled with this compiler. What is VC9? VC9 is the Visual Studio compiler, which is compiled with Microsoft's vs Editor. So how do we choose which version of PHP to download? If you are using Apache under Windows, select the VC6 version, or if you are using iis+php under Windows, select the VC9 version.
OK, after downloading Memadmin and PHP, the following begins to configure PHP Web server, deploy memadmin this tool. In fact, the reader can download and install "AppServer" such as the Wamp integrated development package, can quickly integrate PHP, MySQL, mysqladmin and so on. But I have long heard that in IIS 7.5 you can run PHP with CGI extensions, and even Web servers such as Apache and Tomcat can be integrated. The integration method is as follows:
The first one, which is earlier, is to load the PHP environment in CGI mode. That is, in IIS configuration interpreter for Php.exe, early more common, currently less used. The characteristic is: stable, but the efficiency is too low.
Second, through the ISAPI mode loading PHP environment, is IIS inside the configuration interpreter for Php5isapi.dll, currently use the most, the most widely used. Features are: multithreading, high efficiency, but not stable enough.
In fact, there is a more efficient way to integrate PHP and IIS, is to use the fastcgi way to load the PHP environment.
Especially after Windows 7, fastcgi can be loaded directly in the IIS environment. This approach is highly efficient and highly stable and belongs to the future development trend.
After configuring the fastcgi, then run the PHP program, if there is an error, as follows:
PHP Tutorial: IIS7 to fastcgi when configuring PHP fastcgi process Unexpected exit problem resolution
Sins Released: 2009-8-29 21:57 Saturday Difficult problem analysis
Many people have a 500 error while configuring iis7+fastcgi+php the fastcgi process quits unexpectedly while the php-cgi.exe process crashes.
This problem is usually caused by a problem with the PHP configuration.
My workaround is to first put the PHP program directory into the system path variable, so you can use the PHP-V command without IIS to check the configuration of PHP.
For example, I wrote the path to the Extension_dir attribute incorrectly in php.ini. Enter php-v on the command line with the following display (click to enlarge)
PHP can not load the extension library files, of course, will error.
After the modification is finished, look (click to enlarge) This is no problem.
The problem can be resolved by restarting IIS at this point.