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.


  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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