Partner and Community Forums
Windows Cache Extension for PHP
Require_once Requires File Twice Under Wincache
Last post Dec 03, 2009 08:50 AM by don.raman
Sep 15, 2009 06:13 PM|LINK
Glad I could help.
I may have another similar issue occurring right now, or it might the same issue. About to do some testing.
Sep 16, 2009 06:37 PM|LINK
Well, we've gone about as far as we can with this. It continues to to load certain files twice and it's hard to determine why now. It only happens on our production server, and therefore is difficult to troubleshoot. We are removing it and may try again
with further releases, but it's really causing us a lot of trouble.
One odd thing was when, I disabled the opcode cache via ini_set and the function that it was duplicating, stopped working altogether (it's an ajax call using Scriptaculous and loads a list of names.)
Sep 16, 2009 08:22 PM|LINK
Can you mail me back at don(dot)raman(at)microsoft(dot)com. We would like to help you in whatever way we could.
Oct 23, 2009 03:16 AM|LINK
Call me paranoid, but I am deploying this tonight and just want to make sure. The patch you sent me for this is incorporated in the 1.0 RC, correct?
Oct 23, 2009 03:17 AM|LINK
Yes, it is.
Oct 23, 2009 03:22 AM|LINK
Dec 03, 2009 05:23 AM|LINK
Ah! We installed 1.0 RTW last week, and guess what we found today?! This bug is back. Did the fix not get committed to the main branch or what?
Dec 03, 2009 06:51 AM|LINK
This should be fixed in RTW release. I did test it and also the script you provided in this forum is part of my regression suite. Are you sure you are using the RTW bits?
We did fix couple of other bugs in the same codepath, but I don't think we regressed this. Can you test the script you provided in this post and get back to me.
Dec 03, 2009 08:16 AM|LINK
Sorry, this was a blunder on my side and I take all the responsibility. Seems like this is broken in PHP5.3 and works well on PHP5.2. I am working on a fix. I am extremely sorry for this. I will send you the privates once I have a fix.
Dec 03, 2009 08:50 AM|LINK
I have fixed it. I will send you the privates over email. I am doing some more test now. Again I am sorry for this blunder.
Thanks for reporting this,
PS: This is specific to PHP5.3. If anyone else is running into similar problem, please contact me. We are also planning to do a 1.0.1 upodate soon (probably early next year).