Le mercredi 01 juin 2005 � 10:32 +0200, MICHEL Thomas a �crit :
> bonjour a tous, 
> Impossible d'installer dolibarr sur un Debian Ubuntu, je n'arrive pas
> � passer l'�tape 1. J'ai d'abord install� la version 2.0.0-alpha1, il
> enregistre les infos dans conf.php mais ne me propose pas de passer �
> l'�tape suivante. J'ai ensuite essay�  avec la version dolibarr-1.1.0
> sans succ�s : il me cr�� bien les fichier dans le dossier document
> mais lorsqu'il tente de se connecter � la base, j'ai  le message
> d'erreure suivant :
> 
> Fatal error: Call to undefined function: mysql_connect() in
> /var/www/dolibarr-1.1.0/htdocs/lib/mysql.lib.php on line 88
> 
>  Pourtant, synaptic m'indique que le paquet php4-mysql est bien
> install� et j'ai d�coment� l'extension mysql.so du fichier php.ini.
> 
> Je ne comprend pas, est ce que quelqu'un de plus exp�riment� a une
> id�e pleazzz!!
> 
> Tom

Il faut que tu v�rifies si php a bien charg� le module.

Pour cela, faire un page info.php dans un r�pertoire accessible par le
web et ajouter :


<?php
phpinfo();
?>

Si tu n'as pas de section mysql dans cette page, c'est que le module
n'est pas charg� !

Attention, sous Debian, il y a plusieurs fichiers php.ini en fonction de
ton apache :

/etc/php4/apache:
total 88
drwxr-xr-x  2 root root  4096 2004-08-25 12:05 .
drwxr-xr-x  6 root root  4096 2005-02-08 19:51 ..
-rw-r--r--  1 root root 37610 2004-10-06 21:04 php.ini
-rw-r--r--  1 root root 37587 2004-08-10 21:41 php.ini~

/etc/php4/apache2 :
total 88
drwxr-xr-x  2 root root  4096 2004-08-25 12:05 .
drwxr-xr-x  6 root root  4096 2005-02-08 19:51 ..
-rw-r--r--  1 root root 37610 2004-10-06 21:04 php.ini
-rw-r--r--  1 root root 37587 2004-08-10 21:41 php.ini~

/etc/php4/caudium:
total 48
drwxr-xr-x  2 root root  4096 2005-02-08 19:52 .
drwxr-xr-x  6 root root  4096 2005-02-08 19:51 ..
-rw-r--r--  1 root root 37789 2005-02-11 15:31 php.ini

/etc/php4/cgi:
total 48
drwxr-xr-x  2 root root  4096 2004-08-25 12:05 .
drwxr-xr-x  6 root root  4096 2005-02-08 19:51 ..
-rw-r--r--  1 root root 37605 2004-10-06 21:04 php.ini

/etc/php4/cli:
total 48
drwxr-xr-x  2 root root  4096 2004-08-25 12:05 .
drwxr-xr-x  6 root root  4096 2005-02-08 19:51 ..
-rw-r--r--  1 root root 37586 2004-10-06 21:04 php.ini

Didrik

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Dolibarr-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dolibarr-user

Répondre à