Partner and Community Forums
Windows Cache Extension for PHP
wincache.php - 500 Server Error
Last post Jan 19, 2013 10:47 PM by ixodie
Jul 13, 2011 02:47 AM|LINK
I have PHP 5.3.6 installed on IIS 7.5 ('08 R2) and I can't seem to access wincache.php anymore.
I have the extension configured in php.ini as well as session.save_handler = wincache
It used to work - now it doesn't :-( I cleared out my browser cache etc but nothing. All I get is a blank screen when I go to wincache.php.
Does anyone have any ideas why it no longer works? PHPinfo shows it's installed and working. It's the wincache file that won't work for me :-(
The wincache install is the correct one for php 5.3 - any info would be appreciated!
Jul 17, 2011 01:53 AM|LINK
It looks like it's fixed now :-)
At some point the session directory for PHP was changed to a different location. The permissions for the new sessions directory were not set correctly. As soon as this was noticed (and changed) wincache.php started working again :-)
Jul 17, 2011 03:48 AM|LINK
Glad you have it working.
Suggestion that may help
download and install the PHP manager.
Lastest additions to PHP Manager
Jun 18, 2012 08:27 PM|LINK
Dec 06, 2012 02:37 PM|LINK
Was a solution ever discovered for this issue? I have the same problem with PHP 5.4.3 and Wincache 1.3.0.
Dec 07, 2012 03:16 PM|LINK
I don't think so. We haven't even tried to use it in a few versions. Our issue seems slightly different, in that ours will work for a little while, but then locks up eventually every time we've tried to use the session cache.
We are using Windows Authentication and anonymous access is not allowed, which I believe is the source of our issue, but can't be sure.
Jan 19, 2013 07:41 PM|LINK
Strange, all of the sudden our wincache.php no longer loads (it throws a white page).
It actually prompts us for login first and when we log in it goes to the white page.
We have session.save_handler=wincache and also wincache shows up properly in phpinfo.
Only other change we made was increasing ucache size to 24MB. (8MB was using all of its memory).
Jan 19, 2013 08:30 PM|LINK
Are you using any type of IIS Security (non-anonymous?)
I would start by disabling the session handler. We use Windows Security and can't use the Wincache Session Handler in production (works in development.) Wincache crashes and hangs like you are talking about.
Jan 19, 2013 10:47 PM|LINK
We set the session handler to files and everything is working again.
We are not using any IIS security, it is anonymous and we have an account set up for the server to access the local files (i.e. the old IUSR account).
This is NOT the solution for the crashing issue I am talking about on the other thread though, as the session handler was never wincache on our old machine, we were just trying to speed up performance on our new server.
Thanks for your help!