Re: debugging modules

From: Date: Tue, 25 Jan 2005 14:20:56 +0000
Subject: Re: debugging modules
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-207226@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote:
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
What I really needed to do was to manually delete bin/php*, lib/php/ and include/php/ before attempting a reinstall. Arshavir

« previous php.general (#207226) next »