Re: APC/Apache2
| From: | Rasmus Lerdorf | Date: | Tue, 31 May 2005 20:36:27 +0000 |
| Subject: | Re: APC/Apache2 | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2403@lists.php.net to get a copy of this message | ||
Michael Wallner wrote:
> Hi,
>
> if anyone has gotten APC to work with Apache2, I'd very
> much appreciate any hints. I've tried shm and mmap but
> APC just seems to do nothing - it loads fine, no errors
It shouldn't really care about the web server except for one place if
you have HAVE_APACHE defined. I do a:
t = ((request_rec *)SG(server_context))->request_time;
in order to save a syscall since Apache has already done this stat() for
us and stuck it in the request_rec. But I would have expected a crash
or a symbol error on load if this was the problem. Are you sure it is
loading without errors for you?
-Rasmus