Re: Re: [ANNOUNCEMENT] APC-3.0.2 (stable) Released.

From: Date: Fri, 08 Jul 2005 20:21:38 +0000
Subject: Re: Re: [ANNOUNCEMENT] APC-3.0.2 (stable) Released.
References: 1 2 3 4 5 6 7  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-2586@lists.php.net to get a copy of this message
Hrm.. I had it slightly backwards. It looks like your apc.so is compiled against PHP-5.1 headers, but that onUpdateLong symbol is a PHP-5.1-only symbol which makes me think you are trying to load this 5.1 apc.so into an older libphp5.so module. -Rasmus Andreas Korthaus wrote: > Rasmus Lerdorf wrote: > >> Looks like you built your apc.so against an older set of php header >> files. > > > I have no idea how to make APC work with 5.1b2. I build php again from > source in my home-directory, with '--prefix=/home/akorthaus/bin/php51b2'. > > The new created libphp5.so for Apache 1.3 causes the following error at > PHP Startup: > > [08-Jul-2005 12:42:35] PHP Warning: PHP Startup: Unable to load dynamic > library '/usr/lib/php/extensions/no-debug-non-zts-20050617/apc.so' - > /usr/lib/php/extensions/no-debug-non-zts-20050617/apc.so: undefined > symbol: OnUpdateLong in Unknown on line 0 > > There is no apc-section in phpinfo(). > > In CLI-Version there is something in php -i and phpinfo(), but it's > disabled even though it is enabled in php.ini: > > APC Support => disabled > Version => 3.0.3 > MMAP Support => Disabled > Revision => $Revision: 3.50 $ > Build Date => Jul 8 2005 12:32:37 > > Directive => Local Value => Master Value > apc.cache_by_default => On => On > apc.enabled => On => On > [...] > > I used the following commands to install apc-3.0.3 from source: > > export PHP_PREFIX="/home/akorthaus/bin/php51b2" > $PHP_PREFIX/bin/phpize > ./configure --enable-apc --with-php-config=$PHP_PREFIX/bin/php-config > make > > > $PHP_PREFIX/bin/phpize -v > Configuring for: > PHP Api Version: 20041225 > Zend Module Api No: 20050617 > Zend Extension Api No: 220050617 > > extension_dir /usr/lib/php/extensions/no-debug-non-zts-20050617 is used > in php.ini, too. I made sure that the correct php.ini is used.

« previous php.pecl.dev (#2586) next »