Re: enabling debugging
| From: | Arshavir Grigorian | Date: | Thu, 20 Jan 2005 21:45:59 +0000 |
| Subject: | Re: enabling debugging | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1832@lists.php.net to get a copy of this message | ||
Reini Urban wrote:
Arshavir Grigorian schrieb:Arshavir Grigorian wrote:segfaults are debug'ed with gdb, not with xdebug nor apd! I have no idea what xdebug or apd are and I certainly have not mentioned them anywhere in this thread or the ticket. What are you talking about?Edin Kadribasic wrote: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.On Wednesday 19 January 2005 17:45, Arshavir Grigorian wrote: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 installEdin Kadribasic wrote: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.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.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.Installing shared extensions: /usr/local/lib/php/extensions/debug-non-zts-20020429/php.ini: ... extension="apc.so" ...