Re: APC/Apache2

From: Date: Wed, 01 Jun 2005 07:44:14 +0000
Subject: Re: APC/Apache2
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-2406@lists.php.net to get a copy of this message
Hi Rasmus Lerdorf, you wrote: > It shouldn't really care about the web server except for one place if > you have HAVE_APACHE defined. Well, yeah - it's just that I read a PECL bug [1] which last poster seems to have the same problem. The only thing to make it compile with Apache2 is to remove #undef XtOffsetAt. > 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? s1-iw:~$ grep -C1 request_time /usr/include/apache2/httpd.h /** Time when the request started */ apr_time_t request_time; APC loads without errors and, as Derick mentioned, phpinfo is fine and apc.php tells me nothing is cached - I even see some deleted entries with lsof (but I don't know if that has anything to say). [1] http://pecl.php.net/bugs/bug.php?id=3861 Thanks, -- Michael - < mike(@)php.net >

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.pecl.dev (#2406) next »