Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP APC installation failed on Ubuntu

Tags:

php

ubuntu

apc

I have done this

sudo apt-get install php-pear php5-dev make libpcre3-dev

and then

sudo pecl install apc

But I'm getting this error:

                         ^
make: *** [apc_compile.lo] Error 1
ERROR: `make' failed

Do you have idea what can be issue? And how to solve it?

like image 521
Nikola Avatar asked Feb 07 '14 11:02

Nikola


1 Answers

Why do you install PHP over the package manager and APC over PECL?

apt-get install php-apc

is much easier and you get the correct package for APC.

like image 117
René Höhle Avatar answered Oct 02 '22 20:10

René Höhle