summaryrefslogtreecommitdiffstats
path: root/opcache-default.blacklist
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-04-11 08:43:50 +0200
committerRemi Collet <fedora@famillecollet.com>2013-04-11 08:43:50 +0200
commita4e7231711e9dc9d060bc4a0830e84435d126018 (patch)
tree526923fda6f318a266d32003725c7cacb99298ff /opcache-default.blacklist
parent747e2868fe13a87893045ad4ade503040a5d988b (diff)
php-pecl-zendopcache: allow wildcard in blacklist filename and comments in blacklist content
Diffstat (limited to 'opcache-default.blacklist')
-rw-r--r--opcache-default.blacklist11
1 files changed, 11 insertions, 0 deletions
diff --git a/opcache-default.blacklist b/opcache-default.blacklist
new file mode 100644
index 0000000..0cc2e18
--- /dev/null
+++ b/opcache-default.blacklist
@@ -0,0 +1,11 @@
+; The blacklist file is a text file that holds the names of files
+; that should not be accelerated. The file format is to add each filename
+; to a new line. The filename may be a full path or just a file prefix
+; (i.e., /var/www/x blacklists all the files and directories in /var/www
+; that start with 'x'). Line starting with a ; are ignored (comments).
+; Files are usually triggered by one of the following three reasons:
+; 1) Directories that contain auto generated code, like Smarty or ZFW cache.
+; 2) Code that does not work well when accelerated, due to some delayed
+; compile time evaluation.
+; 3) Code that triggers an OPcache bug.
+