1

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?

1 Answer 1

2

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.

2
  • 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, 2013 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. Jan 16, 2013 at 11:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .