Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two versions of PHP running (5.2 & 5.3). I would like to know how to install two separate versions of APC for PHP, or is that even necessary? I can't find any info on alternative methods for installing APC other than a simple pecl install apc.

PHP 5.2 is compiled from source and PHP 5.3 is from the Debian repo.


share|improve this question
What method are you using to get multiple versions? – Zoredache Aug 8 '12 at 16:02

PHP 5.2 and PHP 5.3 have different ABI (application binary interface) so 5.2 modules won't work on 5.3 and vice versa. You can install APC from source using the standard phpize, ./configure, make, make install procedure. You should just use a proper phpize for your source-compiled PHP ver. 5.2

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.