|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-05-03 04:01 UTC] emile at iris-advies dot com
[2001-05-27 23:58 UTC] sniper@php.net
[2001-05-28 02:19 UTC] emile at iris-advies dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 12:00:02 2025 UTC |
Using apache 1.3.19-1 and php4.0.4.5rc6-2 (debian packages) $ ./ext_skel --extname=apdebug Apply this patch: diff -ur apdebug.org/apdebug.c apdebug/apdebug.c --- apdebug.org/apdebug.c Thu May 3 09:44:19 2001 +++ apdebug/apdebug.c Thu May 3 09:45:05 2001 @@ -74,6 +74,9 @@ /* Remove if there's nothing to do at request start */ PHP_RINIT_FUNCTION(apdebug) { + request_rec *r; + r = ((request_rec *) SG(server_context)); + fprintf(stderr, "APDEBUG, request_config=%#lx\n", r->request_config); return SUCCESS; } $ phpize $ CFLAGS="$CFLAGS -DHAVE_APDEBUG=1 -DCOMPILE_DL_APDEBUG=1" ./configure --enable-apdebug $ make; make install add extension=apdebug.so to php.ini We've had numerous reports (on my own machine, but also on SuSE, Redhat and others) where request_config would always be 0x10000, and verifiably have another (sane) value in other apache modules during the same request. This is the only dynamic extension loaded, other than the built-in extensions that the debian php4 package provides.