Re: [APC-DEV] Feature request: ability to filter out entire directories/folders
[email protected] (Rasmus Lerdorf) Wed, 10 Dec 2008 11:11:49 -0800
| Newsgroups | php.apc.dev |
|---|---|
| Message-ID | <[email protected]> |
Ron Peled wrote: > I would like to suggest a new feature: ability to exclude php files from > entire folders. This is useful when we have limited RAM on the host > machine and would then like to exclude the admin panels for the CMS or > blogging software installed on the system. At the moment the filtering > parameter only looks at the file name and ignores the folder or the full > path - hence there is no real way to achieve this setup. > > I hope this is posted in the right place, otherwise let me know where > and I appologize. apc.filters take a regex that is matched against the fullpath filenames. Here is an example: apc.filters="\/var\/www\/apc\/.*,\/var\/www\/dot\/.*,\/var\/www\/squirrelmail\/.*,\/var\/www\/yui\/.*,\/var\/www\/g2data\/cache\/.*" This filters out a bunch of entire directories. -Rasmus