Re: APC : how to use filters parameter ?

From: Date: Fri, 19 Aug 2005 07:43:14 +0000
Subject: Re: APC : how to use filters parameter ?
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-2763@lists.php.net to get a copy of this message
Siewn wrote: > Something like apc.filters="*/cache/*.php,*/tmp/*.php" doesn't work. > (apache doesn't start) > Isn't it the right way ? That's not a valid regular expression. That's a glob pattern which is not the same thing. * is a quantifier that means 0 or more of the entity that came before it. There is nothing before your * there. A proper regex that says match any files with /cache/ or /tmp/ in the path and ending in .php would be: (.*/cache/.*\.php)|(.*/tmp/.*\.php) -Rasmus

« previous php.pecl.dev (#2763) next »