logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: enabling debugging: msg#00058

Subject: Re: enabling debugging
Edin Kadribasic wrote:

On Wednesday 19 January 2005 17:45, Arshavir Grigorian wrote:
Edin Kadribasic wrote:
Tou have to install header files and build after you make your php debug
build. What is happening in your case is that you have mixed up
debug/non-debug build and modules.

Edin
I build APC after building/installing debug enabled PHP.
What header files do you have in mind? How do I install them?

I already know that I need to enable debugging in the module (APC)
itself and it would be helpful if you told me how to do so.

When you configure php with --enable debug you then "make install". When configuring apc you need to make sure that apc is using those headers by pointing --with-php-config to the php-config binary just installed in the previous step.
Thanks, but that does not seem to work. I still get the same warning in my Apache logs.

%> /usr/local/bin/phpize
%> ./configure --enable-apc --with-gnu-ld --with-php-config=/usr/local/bin/php-config
%> make -j3
%> make install
Installing shared extensions: /usr/local/lib/php/extensions/debug-non-zts-20020429/

php.ini:
...
extension="apc.so"
...



Arshavir



<Prev in Thread] Current Thread [Next in Thread>