Re: apc with suexec?
| From: | Rasmus Lerdorf | Date: | Fri, 20 Apr 2007 09:21:55 +0000 |
| Subject: | Re: apc with suexec? | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-4668@lists.php.net to get a copy of this message | ||
Michael Grant wrote:
> I'm running php 5.1 under suexec in apache2, hence I'm not using
> mod_php. Suexec requires that each new requests gets forked off and
> execed, running under it's own uid/gid, so it uses the CLI version of
> php.
>
> However, php -i and phpinfo() report that APC is enabled.
>
> But I wonder, is APC useful in this environment? Can it actually
> cache anything when run like this?
It will write to the cache, but never read from it as the actual cache
is destroyed when the php process exits, so no, it isn't useful.
-Rasmus