Partner and Community Forums
Windows Cache Extension for PHP
having problem with wincache
Last post Apr 30, 2010 06:23 AM by yeksa
Apr 28, 2010 11:44 AM|yeksa|LINK
Any help on this would be great thanks
Sorry for all the copy/pasting
I'm running 5.3.2 NTS on IIS 5.1 on XP
IIS is set to run .php files against c:\php\php-cgi.exe
Web root is c:\inetpub\wwwroot
I have the wincache.php file in the wwwroot folder and it gives me the following
--snip from phpinfo()
-- end snip
-- snip win cache
Apr 28, 2010 02:14 PM|don.raman|LINK
Can you let me know what is the problem exactly? I can't make out anything form this. Also let me know how did you install PHP5.3.2?
Apr 28, 2010 05:13 PM|yeksa|LINK
Apr 28, 2010 05:29 PM|don.raman|LINK
I don't see any reason why it should not work?
I am noticing something wrong though, why your PHPRC variable not set? Are you using IIS FastCGI to host PHP? Seems you are using CGI or ISAPI? You will need to move to IIS FastCGI. Please follow intsructions at:
Please remove PHP completely and also all the script mapping for php in IIS. IIS FastCGI is the supported way to host PHP.
Apr 29, 2010 03:39 AM|yeksa|LINK
Have removed php and am currently reinstalling via your first post.
will get back to you when tested
Apr 29, 2010 03:50 AM|yeksa|LINK
I editted the C:\WINDOWS\system32\inetsrv\fcgiext.ini file and added the following lines and hey presto fast cgi is working and so is wincache
Ok, got the first part don't and it didn't work out of the box seems it didn't se the .php extension on the IIS5.1 configuration for me
I configured it to run "c:/program files/php/php-cgi.exe"
and wincache.php still returning that nothing is caching.
is that correct?
The WPI installer states that IIS5.1 is installed and FASTCGI 1.5 is installed.
How do I test if the FAST-CGI is running on iis5.1
I've read your next post and told it to use the fastcgi ie something like ".php,C:\WINDOWS\system32\inetsrv\fcgiext.dll,5,GET,HEAD,POST" taken from your comment on
I now get
--snip -> from index.php
The FastCGI Handler was unable to process the request.
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
Apr 29, 2010 11:49 AM|don.raman|LINK
Why did you edited the fcgiext.ini yourself? The FastCGI installation should do that. Also ensure that you are saving the file as plain text and not in some other format. Read
Apr 30, 2010 06:23 AM|yeksa|LINK
The ini file had nothing after the [TYPES] section. I assummed that I had been mucking about with it when I was trying to install it ages ago I eventually made php run via directly pointing to the php-cgi.exe probably because I needed to get some work done
and its only recently that I got time to look at it all again.
Thanks for all your help.