httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme Renard ...@ez.no>
Subject Re: Help on debug an apache module
Date Wed, 05 Aug 2009 07:26:23 GMT
Ho Jorge,

Jorge Bastos a écrit :
> Hi Ray,
> 
> Can't compile, it's the binaries from Debian SID.
> No other solution, right?

No, you can compile another Apache instance if you want to.

You can even keep the Debian package and compile your own
Apache in your /home/myapache/ (for example) and make it listen to another
port (8080 for example).

If you want to debug your module you need to compile your own Apache
with the following ./configure flag :

--enable-maintainer-mode

Once your "private" Apache is compiled, install and load the PHP5 module
and restart your debugging process with apache -X etc...

There is even a .gdbinit file if ever you need it :

http://svn.apache.org/repos/asf/httpd/httpd/trunk/.gdbinit

'Hope that helps

Best Regards

--
Jérôme :)

Mime
View raw message