Bonjour,
je cherche depuis un certain temps (enfin, ça fait 2 jour seulement que j'ai souscris à ce VPS ! - mais, je le fait intensivement ) à optimiser la gestion de mes sites, surtout au niveau de la rapidité de chargement des pages.
Hier soir, j'ai mis en place MEMCACHED (système de cache mémoire distribué)
et j'ai rencontré ce problème lors de la commande ./configure && make
... recreate aclocal.m4 with macros from libtool 2.2.6b
Afin de résoudre cette problématique, j'ai édité le fichier : /usr/share/php5/PEAR/Builder.php
Et ajouté après "// }}} end of interactive part"
if (file_exists('aclocal.m4')) {
$this->_runCommand('rm aclocal.m4');
$this->_runCommand('autoreconf');
}
Ce qui a résolu cette petite première expérience
ça c'est pour l'info et le partage.
Combiner APC et MEMCACHE est la configuration qui me séduit le plus !(enfin, ce que je peux en lire). Je cherche donc à ajouter APC sur un gentoo 2 64bits !
Pour installer APC au jour d’aujourd’hui sur un gentoo 2 64bits, la commande est t'elle bien celle ci avec la dernière version et php 5.3 ?
APC
Sous SSL on tape :
ln -s /usr/local/php53/bin/phpize /bin/phpize
ln -s /usr/local/php53/bin/php-config /bin/php-config
ln -s /usr/local/php53/bin/pear /bin/pear
ln -s /usr/local/php53/bin/pecl /bin/pecl
cd /home
mkdir src
cd src
wget
http://pecl.php.net/get/APC-3.1.9.tgz
tar xvzf APC-3.1.9.tgz
cd APC-3.1.9
phpize
./configure && make
make install
Puis dans "/usr/local/lib/php53/php.ini" on ajoute/modifie :
extension_dir = "/usr/local/php53/lib/php/extensions/no-debug-non-zts-20060613/"
extension=apc.so
apc.enabled = 1
apc.rfc1867 = on
-----------------------------------------------------------------------
Sauf que lors de la commande ./configure && make
je rencontre à nouveau le problème lié à libtool ????
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
/bin/sh /home/src/APC-3.1.9/libtool --mode=install cp ./apc.la /home/src/APC-3.1.9/modules
/home/src/APC-3.1.9/libtool: line 467: CDPATH: command not found
/home/src/APC-3.1.9/libtool: line 1152: func_opt_split: command not found
libtool: Version mismatch error. This is libtool 2.2.6b, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b
libtool: and run autoconf again.
make: *** [/home/src/APC-3.1.9/modules/apc.la] Error 63
PQ ?
Quelqu'un a t'il déjà rencontré ce problème ?
Y'a t'il une erreur ...
De l'aide ne serait pas de refus ...
Merci et bravo pour cet espace d'échange d’entraide ainsi qu'à tout ceux qui y participe ...
St.