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
BodyID:104610971.2.n.logpart (stored separately)
_______________________________________________
Dolibarr-user mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/dolibarr-user