Bonjour, C'était ça... merci François :p Bon, maintenant, j'ai des croix rouges mais ça ne doit pas être très grave... un problème snmp certainement Merci Sich et Manioul
-----Message d'origine----- De : "François TOURDE" [mailto:[EMAIL PROTECTED] Envoyé : lundi 17 janvier 2005 01:22 À : debian-user-french@lists.debian.org Objet : Re: Cacti & Sarge Le 12799ième jour après Epoch, Benoit Lecompt écrivait: > Je cherche sur google-est-ton-ami ... > La base sql semble bien configurée mais /usr/bin/php /var/www/cacti/cmd.php > me retourne: > Fatal error: Call to undefined function: mysql_connect() in > /var/www/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 339 > > J'ai re-cherché et trouvé ceci: > http://www.cacti.net/downloads/docs/html/faq.html#AEN1778 > "I get a "Call to undefined function: mysql_connect()" error message from > Cacti. > > Your installation of PHP does not have MySQL installed or enabled. On > binary-based distributions, make sure you have the 'php-mysql' package > installed. Also make sure that 'extension=mysql.so' is uncommented in your > php.ini file." > > Or, php-mysql est installé, et dans /etc/php4/cgi/php.ini j'ai bien > décommenté 'extension=mysql.so' Il me semble que c'est dans /etc/php4/cli/php.ini qu'il faut aussi faire cette modif. C'est la version cli (command line interpreter) qui est utilisée dans ce cas. -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]