Instale o APC RedHat

16

Eu estou tentando instalar o apc no redhat, então eu fiz:

pecl install apc

eu disse sim para:

Use apxs to set compile flags (if using APC with Apache)? [yes]:

e eu recebo isso:

checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to \
regenerate PHP parsers.

e

checking whether apc needs to get compiler flags from apxs...

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of apxs follows
/tmp/tmpJQuZdD/APC-3.0.16/configure: line 3846: apxs: command not found
configure: error: Aborting
ERROR: '/tmp/tmpJQuZdD/APC-3.0.16/configure --with-apxs' failed

qual poderia ser o problema? Obrigado

    
por zackaryka 28.11.2011 / 00:54

1 resposta

20

Você esqueceu este pacote:

sudo yum install httpd-devel.i386

ou

sudo yum install httpd-devel

Você também pode precisar de:

apt-get install apache2-threaded-dev

Quando terminar, tente novamente e, no final, reinicie o apache:

sudo apachectl -k graceful
    
por 28.11.2011 / 01:21

Tags