Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

APC stat=0 and I mean it.

View gist:3067643
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Index: apc.c
===================================================================
--- apc.c (revision 326528)
+++ apc.c (working copy)
@@ -34,6 +34,7 @@
#include "apc.h"
#include "apc_zend.h"
#include "apc_cache.h"
+#include "apc_globals.h"
#include "php.h"
#if HAVE_PCRE || HAVE_BUNDLED_PCRE
@@ -307,6 +308,9 @@
assert(filename && fileinfo);
+ if(APCG(fpstat)==0) {
+ return 0;
+ }
wrapper = php_stream_locate_url_wrapper(filename, &path_for_open, 0 TSRMLS_CC);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.