You are here: Re: [PHP] debugging modules « PHP « IT news, forums, messages
Re: [PHP] debugging modules

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация