Topic: Installing APC gives me dependency errors
I'm running this:
yum -y --enablerepo remi --enablerepo remi-test install php-pecl-apc
The output is:
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-apc.i386 0:3.1.6-2.el5.art set to be updated
--> Processing Dependency: php(api) = 20041225 for package: php-pecl-apc
--> Processing Dependency: php(zend-abi) = 20060613 for package: php-pecl-apc
--> Finished Dependency Resolution
php-pecl-apc-3.1.6-2.el5.art.i386 from atomic has depsolving problems
--> Missing Dependency: php(api) = 20041225 is needed by package php-pecl-apc-3.1.6-2.el5.art.i386 (atomic)
php-pecl-apc-3.1.6-2.el5.art.i386 from atomic has depsolving problems
--> Missing Dependency: php(zend-abi) = 20060613 is needed by package php-pecl-apc-3.1.6-2.el5.art.i386 (atomic)
Error: Missing Dependency: php(zend-abi) = 20060613 is needed by package php-pecl-apc-3.1.6-2.el5.art.i386 (atomic)
Error: Missing Dependency: php(api) = 20041225 is needed by package php-pecl-apc-3.1.6-2.el5.art.i386 (atomic)
I've been trying to find out how to install the php (api) and php (zend-abi), and have gone through other sites with what I thought were downloads using rpm install and update, but am not able to get rid of the errors.
My php -v:
PHP Warning: PHP Startup: apc: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
PHP 5.3.5 (cli) (built: Jan 7 2011 19:01:17)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies