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

I have a custom PHP installation which I compiled because the packaged version was too old for my project.

I would need to install APC, do I need to recompile PHP to add APC module or is there another way ?

Thank you

share|improve this question

1 Answer 1

No, you don't. The simplest way to install APC module is to use PECL as described here: http://php.net/manual/en/apc.installation.php.

share|improve this answer
    
Thanks for you answer. However, on the server I have the packaged PHP version installed, next to the compiled PHP version. So, if I use PECL to install APC, how to use PECL to use the compiled PHP version ? –  userD Jan 16 '13 at 11:07
    
Which Linux distro is installed on your server? If it's Ubuntu/Debian, you'll have to compile php5-dev package which provides the files from the PHP5 source needed for compiling additional modules. –  hangover Jan 16 '13 at 11:43

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.