I have done this
JavaScript
x
sudo apt-get install php-pear php5-dev make libpcre3-dev
and then
JavaScript
sudo pecl install apc
But I’m getting this error:
JavaScript
^
make: *** [apc_compile.lo] Error 1
ERROR: `make' failed
Do you have idea what can be issue? And how to solve it?
Advertisement
Answer
Why do you install PHP over the package manager and APC over PECL?
JavaScript
apt-get install php-apc
is much easier and you get the correct package for APC.