Re: debugging modules

From: Date: Fri, 21 Jan 2005 01:24:37 +0000
Subject: Re: debugging modules
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-206905@lists.php.net to get a copy of this message
Arshavir Grigorian wrote:
Hi, I am having trouble debugging a PECL module (APC) because while I am able to --enable-debug when configuring the PHP course, I cannot do the same for APC (no such configure option). Does anyone know how to do that? PHP Warning: Unknown(): apc: Unable to initialize module\nModule
compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20020429, debug=1, thread-safety=0\nThese options need to match\n in Unknown on line 0
You need to make install after compiling PHP with --enable-debug to get phpize and php-config to inherit the debug flag which will cause apc to be built with debug mode when you run phpize in the apc directory. -R

« previous php.general (#206905) next »