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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php