Re: APC : how to use filters parameter ?

From: Date: Fri, 19 Aug 2005 09:19:05 +0000
Subject: Re: APC : how to use filters parameter ?
References: 1 2 3  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-2765@lists.php.net to get a copy of this message
Siewn wrote: > Rasmus Lerdorf a écrit : > >> 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) >> >> >> > thanks your answer. > So I've tried apc.filters="(.*/cache/.*\.php)|(.*/tmp/.*\.php)" > but I still have some files like that cached : > /home/pcinpact/www/cache/cache_art.php > > <http://www.pcinpact.com/admin/apc.php?SCOPE=A&SORT1=H&SORT2=D&COUNT=0&OB=2&SH=96ebb3a7a95922d59ca82a06d34ea3be> Password-protected. Are you running 3.0.7? -Rasmus

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