|
Posted by Rasmus Lerdorf on 01/21/05 03:24
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
[Back to original message]
|