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 :-)
I can't get wincach.php to load is I set "session.save_handler = wincache" in php.ini My site continues to load fine once I set that, but the wincache.php won't load, sits there trying until IIS timeout error 500. Soon as I set "session.save_handler = files"
then I can load wincache.php just fine. PHP 5.3.13 Wincache 1.1.0630.0
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.
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.
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.
Dave Onex
10 Posts
wincache.php - 500 Server Error
Jul 13, 2011 02:47 AM|LINK
Hi folks;
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!
Dave Onex
10 Posts
Re: wincache.php - 500 Server Error
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 :-)
HCamper
8048 Posts
Re: wincache.php - 500 Server Error
Jul 17, 2011 03:48 AM|LINK
Hi,
Glad you have it working.
Suggestion that may help http://www.iis.net/community/default.aspx?tabid=34&g=6&i=2007
download and install the PHP manager.
Lastest additions to PHP Manager http://blogs.iis.net/ruslany/archive/2011/06/28/command-line-tools-for-managing-php-in-iis.aspx .
Cheers :)
Martin
Community Member Award 2011
canadaka
94 Posts
Re: wincache.php - 500 Server Error
Jun 18, 2012 08:27 PM|LINK
gstevenh
2 Posts
Re: wincache.php - 500 Server Error
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.
laurin1
257 Posts
Re: wincache.php - 500 Server Error
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.
ixodie
26 Posts
Re: wincache.php - 500 Server Error
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).
laurin1
257 Posts
Re: wincache.php - 500 Server Error
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.
ixodie
26 Posts
Re: wincache.php - 500 Server Error
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!