Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

Best!

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

1 Answer 1

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

 
discard

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.