Re: enabling debugging

From: Date: Thu, 20 Jan 2005 17:34:00 +0000
Subject: Re: enabling debugging
References: 1 2 3 4 5  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1829@lists.php.net to get a copy of this message
Arshavir Grigorian wrote:
Edin Kadribasic wrote:
On Wednesday 19 January 2005 17:45, Arshavir Grigorian wrote:
Edin Kadribasic wrote:
Tou have to install header files and build after you make your php debug build. What is happening in your case is that you have mixed up debug/non-debug build and modules. Edin
    
I build APC after building/installing debug enabled PHP. What header files do you have in mind? How do I install them? I already know that I need to enable debugging in the module (APC) itself and it would be helpful if you told me how to do so.
When you configure php with --enable debug you then "make install". When configuring apc you need to make sure that apc is using those headers by pointing --with-php-config to the php-config binary just installed in the previous step.
Thanks, but that does not seem to work. I still get the same warning in my Apache logs. %> /usr/local/bin/phpize %> ./configure --enable-apc --with-gnu-ld --with-php-config=/usr/local/bin/php-config %> make -j3 %> make install
Installing shared extensions:     /usr/local/lib/php/extensions/debug-non-zts-20020429/
php.ini: ... extension="apc.so" ...
I have just opened a ticket on this (http://pecl.php.net/bugs/bug.php?id=3250). Folks, this is important! We have a segfault and there NO way to debug.

« previous php.pecl.dev (#1829) next »