New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZenCache Pro + PHP 5.6 FASTCGI causes Internal Server Error #671
Comments
Reference also: Private Internal Ticket: \Fatal Error On Trying To Reactivate Zen Cache Pro. |
Debugging PHP 5.6 w/ FastCGIThe difference between running PHP w/ FastCGI and without can mean that your server uses a completely different PHP build. Here is a typical breakdown.
|
I have an update from internal private ticket referenced above (https://websharks.zendesk.com/agent/tickets/11121). @raamdev said he thought this was a file-locking issue and asked me to have the user ask his hosting company about their locking mechanism. They found that ZenCache had 2 files in the |
Cool. Thank you for this report Pat! :-)
@raamdev So it might help if we use |
Also mentioned here: https://wordpress.org/support/topic/white-screen-of-death-lingers?replies=3 |
@jaswsinc I don't think this is related, but I noticed that we're not using the
Is there any specific reason we're not using that flag here? |
No, no specific reason. Nothing is written to the file though, so I think it's OK without. Either way though. |
@jaswsinc writes...
Are you thinking just a call to |
I'm thinking of a scenario where
|
Yes. Actually, I'd put it right after this line:
Right. I'd just add a
That's OK. If we can't write to the temp directory there are bigger problems. The |
@jaswsinc writes...
Can we |
Oh, WE are the one obtaining the lock, so we can do whatever we want, right? |
Yep :-) Anyway, it's advisory file locking anyway, so you can do whatever. The filesystem itself doesn't really play any part in this, other than just tracking the locks that are open. It doesn't enforce this. |
Next Release Changelog:
|
Comet Cache v160227 has been released and includes changes from this GitHub Issue. See the v160227 announcement for further details. This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#671). |
Customer reported:
Using ZenCache 160120-RC or ZenCache Pro 160103, would not function with PhP 5.6 FastCGI. However, once FastCGI is turned off, they both started to work properly.
Referencing previous closed issue: #624
Referencing Internal Ticket: https://websharks.zendesk.com/agent/tickets/10936
The text was updated successfully, but these errors were encountered: