Page 1 sur 1

installer apc

Posté : 27 janv. 2010, 18:54
par x@v
Bonjour,
je dois installer apc pour faire tourner symfony !!!
j'utilise le tuto suivant :
http://nicolas.steinmetz.fr/tutoriels/s ... pache.html
et j'ai ce message :

Code : Tout sélectionner

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/pear/temp/APC/configure: line 4432: apxs: command not found configure: error: Aborting ERROR: `/tmp/pear/temp/APC/configure --with-apxs' failed xav@hack:/home/sfprojects/jobeet$

Code : Tout sélectionner

xav@hack:/home/sfprojects/jobeet$ sudo aptitude install apache-dev php5-dev php5-cli php-pear Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Lecture de l'information d'état étendu Initialisation de l'état des paquets... Fait Impossible de trouver un paquet dont le nom ou la description correspond à « apache-dev » Impossible de trouver un paquet dont le nom ou la description correspond à « apache-dev » Aucun paquet ne va être installé, mis à jour ou enlevé. 0 paquets mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour. Il est nécessaire de télécharger 0o d'archives. Après dépaquetage, 0o seront utilisés. Écriture de l'information d'état étendu... Fait Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Lecture de l'information d'état étendu Initialisation de l'état des paquets... Fait xav@hack:/home/sfprojects/jobeet$ sudo pecl install -a apc downloading APC-3.0.19.tgz ... Starting to download APC-3.0.19.tgz (115,735 bytes) ....................done: 115,735 bytes 47 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 Use apxs to set compile flags (if using APC with Apache)? [yes] : yes building in /var/tmp/pear-build-root/APC-3.0.19 running: /tmp/pear/temp/APC/configure --with-apxs checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 checking for PHP extension directory... /usr/lib/php5/20060613+lfs checking for PHP installed headers prefix... /usr/include/php5 checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no 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/pear/temp/APC/configure: line 4432: apxs: command not found configure: error: Aborting ERROR: `/tmp/pear/temp/APC/configure --with-apxs' failed xav@hack:/home/sfprojects/jobeet$
Merci

Re: installer apc

Posté : 27 janv. 2010, 20:30
par stopher
Salut ,

un problème avec le chemin de "apxs" ...

Voici mon tuto , avec deux méthodes :

-> automatique ( version des paquets )
-> manuelle ( dernière version )

C'est ICI

Ch.

Re: installer apc

Posté : 27 janv. 2010, 21:11
par stealth35
t'es sous quelle distrib ?

Re: installer apc

Posté : 07 févr. 2010, 17:46
par niuxe
Hello,

De mon côté j'essaie d'installer apc sur wamp+windows. J'ai fait une recherche, mais je n'ai pas trouvé quelque chose de concluant. Pouvez vous me dire la marche à suivre svp ?
Là, je reste un peu sur ma faim.

Bon dimanche

Re: installer apc

Posté : 08 févr. 2010, 16:26
par stealth35
Hello,

De mon côté j'essaie d'installer apc sur wamp+windows. J'ai fait une recherche, mais je n'ai pas trouvé quelque chose de concluant. Pouvez vous me dire la marche à suivre svp ?
Là, je reste un peu sur ma faim.

Bon dimanche
les DLL ici :
http://downloads.php.net/pierre/

Re: installer apc

Posté : 09 févr. 2010, 16:42
par x@v
en faite je suis sous ubuntu 9.10, et les paquets existe bel et bien je me suis fait une grosse prise de tête et beaucoup de café pour rien du tout.
donc pour mon serveur c'est la même chose.
apt-get install bouzin

Re: installer apc

Posté : 09 févr. 2010, 17:43
par stealth35
en faite je suis sous ubuntu 9.10, et les paquets existe bel et bien je me suis fait une grosse prise de tête et beaucoup de café pour rien du tout.
donc pour mon serveur c'est la même chose.
apt-get install bouzin
héhé, sous unix c'est fastoche :wink: ,
sinon en lisant la doc PHP t'aurai lu :

Code : Tout sélectionner

pecl install apc
qui marche aussi, mais c'est mieux sous une deb de faire avec apt

oublie pas de récupérer le apc.php dans les sources d'APC, c'est utile pour la gestion