Apache2 debugging

From: Date: Tue, 20 Nov 2001 11:44:38 +0000
Subject: Apache2 debugging
Groups: php.dev 
Request: Send a blank email to php-dev+get-71050@lists.php.net to get a copy of this message
Hi, the README sais to set an environ var (or least I undestood so) in order to debug it, but actually you have to define it (using -D on command line) for it to work. The change would be: --- sapi/apache2filter/README.orig Tue Nov 20 13:39:56 2001 +++ sapi/apache2filter/README Tue Nov 20 13:40:35 2001 @@ -48,8 +48,7 @@ 1. Use the Prefork MPM (Apache 1.3-like process model) by configuring Apache with '--with-mpm=prefork'. - 2. Set the variable "ONE_PROCESS" to 1 and export it before - starting Apache/a debugger. + 2. Start httpd with -DONE_PROCESS. If you want to debug a part of the PHP startup procedure, set a breakpoint on 'load_module'. Step through it until apr_dso_load() is ciao -- teodor

« previous php.dev (#71050) next »