Note: In general, our win2003 are all ISAPI mode, this time the installation of Zend can be. If it is fastcgi, it can pass through Wincache. More commonly used in win2008 systems.
Few webmasters like to run PHP with Windows, whether it's IIS 6 or IIS 7, which actually runs PHP in a way that's faster than running PHP under Linux, but if you want to be compatible with asp/php/jsp and so on, Then you have to use a Windows server. Although Windows runs PHP at a slower speed, if you can speed up PHP's operation, like using Wincache, the speed is acceptable.
Wincache is Microsoft to cooperate with FASTCGI for the launch of the PHP accelerator, if your PHP is running in fastcgi mode, the general PHP 5.3.* version is the default fastcgi mode, then can be accelerated by the Wincache accelerator to run PHP. Because it is exclusive for Windows under the IIS server built, so the effect is good, at least than not install plug-ins faster than 50%, the following simple to say how to install the Wincache plug-in.
Because Wincache is to cooperate with FASTCGI and launched the PHP Accelerator, so first of all to the PHP selected for fastcgi mode of operation, if IIS 6, to set up their own, see the online tutorial, the process is more, this is not much to do introduction; If IIS 7 and IIS 7.5 then default to fastcgi mode. For better results, it is recommended that you use the PHP 5.3.* version, which will ensure that the program runs smoothly, as well as better use of the PHP accelerator.
Download Wincache Accelerator
Http://www.iis.net/downloads/microsoft/wincache-extension
Cloud Habitat Community Download address
Http://www.jb51.net/softs/100213.html
At this point in the page, then there are wincache download addresses, divided into Wincache 1.1 for PHP 5.2, Wincache 1.1 for PHP 5.3, Wincache 1.3 for PHP 5.4, Wincache Source Code The last one is the source version, we do not need to download, download 5.2 or 5.3 version, you can see your own PHP version of which will download which can be.
Install Wincache Accelerator
In fact, the process of installing Wincache is very simple, EXE file everyone knows how to get, all the way click "OK" down can be, do not worry about errors; just pay attention to the installation location, like PHP installed in D:\php\, then wincache to install in the \php\ext\ directory, This makes it easier to find.
Configure php.ini for it to take effect
After the installation is complete, Find your php.ini file, this file is in your PHP installation directory, your PHP installed in which file, in the root of that file can be found, found later with the editor to open, like the Ultraedi editor, do not use text documents, may lead to coding errors; Open the search later. Php_wincache.dll ", then there should be a php_wincache.dll in front of you, remove this semicolon to open.
Check if Wincache is in effect
Test PHP is accelerated, you can use phpinfo.php file test, the contents of this PHP file is very simple, directly is <?php phpinfo (), you build this file, at the same time can be arbitrarily named, Like 1.php, then upload to the site directory, open through the domain name to see if Wincache is effective.
In general, after the installation settings above, there is basically no problem, if there is a problem, then you can try to restart IIS, in addition, Wincache only for use under IIS, if you run Apache or even nginx under Windows, So Wincache is not a very good accelerator, you can consider using the accelerator Zend What, so the effect will be better. Of course, if you are using Windows, or IIS is more appropriate.