APC on PHP 5.4 does not seem to be installed after installation

Posted by Burning the Codeigniter on Server Fault See other posts from Server Fault or by Burning the Codeigniter
Published on 2012-03-27T16:22:03Z Indexed on 2012/04/06 23:32 UTC
Read the original article Hit count: 169

Filed under:
|
|
|

I've recently upgraded to PHP 5.4 from 5.3.6, I did the command apt-get upgrade php5 with the custom PHP 5.4 repo which I added to the apt-get repositories, now that I upgraded, I restarted php-fastcgi and php5-fpm the APC does not seem to be installed with it after I did pecl install apc it seems to configure and install with the details below:

Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626

But in my phpinfo() I get this:

PHP API     20100412
PHP Extension   20100525
Zend Extension  220100525 

Which I don't understand, how can I configure PECL to install with PHP 5.4 with my version, my installation with apc.so is stored to /usr/lib/php5/20090626/ however in /usr/lib/php5/ I have two PHP versions:

20090626  20100525

How can I remove either one and leave PHP 5.4 and manage it to install apc in the correct PHP version?

I'm running Ubuntu 11.04 on my server.

I need help on this please.

© Server Fault or respective owner

Related posts about cache

Related posts about php5