Fatal error: Call to undefined function mysql_connect()

LaTatadu91 Messages postés 968 Date d'inscription jeudi 20 mai 2004 Statut Membre Dernière intervention 26 avril 2013 - 11 nov. 2010 à 18:48
LaTatadu91 Messages postés 968 Date d'inscription jeudi 20 mai 2004 Statut Membre Dernière intervention 26 avril 2013 - 12 nov. 2010 à 22:58
Bonjour,

j'ai du reinstaller sur un nouveau pc une version de wamp avec php5.3, et depuis lorsque je désire accèder à ma base de données j'ai ce message d'erreur.
j'ai vérifier mon php.ini et j'y trouve bien sans les ";" devant extension=php_mysql.dll

j'ai beau chercher rien n'y fait....

que faire?


 
A voir également:

3 réponses

neigedhiver Messages postés 2480 Date d'inscription jeudi 30 novembre 2006 Statut Membre Dernière intervention 14 janvier 2011 19
11 nov. 2010 à 21:39
Salut,

As-tu essayé de simplement redémarrer Apache ?
Est-ce que le fichier php_mysql.dll est bien présent dans le répertoire des extensions PHP ?
As-tu consulté le fichier de logs d'Apache pour voir s'il y avait un message d'erreur ?
Vérifie ça :
<?php
header('Content-type: text/plain');
var_dump(get_loaded_extensions());
?>


--
Neige

Souvent la réponse à votre question se trouve dans la doc. Commencez par là ;)
0
LaTatadu91 Messages postés 968 Date d'inscription jeudi 20 mai 2004 Statut Membre Dernière intervention 26 avril 2013 1
11 nov. 2010 à 21:57
salut,

alors oui le fichier php_mysql.dll est bien présent sous C:\wamp\bin\php\php5.3.0\ext

sinon j'ai redemarré pas mal de fois tous les services... je le referais

et voici le résultat du script php:

array(34) {
[0]=>
string(4) "Core"
[1]=>
string(6) "bcmath"
[2]=>
string(8) "calendar"
[3]=>
string(10) "com_dotnet"
[4]=>
string(5) "ctype"
[5]=>
string(4) "date"
[6]=>
string(4) "ereg"
[7]=>
string(6) "filter"
[8]=>
string(3) "ftp"
[9]=>
string(4) "hash"
[10]=>
string(5) "iconv"
[11]=>
string(4) "json"
[12]=>
string(6) "mcrypt"
[13]=>
string(7) "mysqlnd"
[14]=>
string(4) "odbc"
[15]=>
string(4) "pcre"
[16]=>
string(10) "Reflection"
[17]=>
string(7) "session"
[18]=>
string(3) "SPL"
[19]=>
string(8) "standard"
[20]=>
string(9) "tokenizer"
[21]=>
string(3) "zip"
[22]=>
string(4) "zlib"
[23]=>
string(6) "libxml"
[24]=>
string(3) "dom"
[25]=>
string(3) "PDO"
[26]=>
string(4) "Phar"
[27]=>
string(9) "SimpleXML"
[28]=>
string(4) "wddx"
[29]=>
string(3) "xml"
[30]=>
string(9) "xmlreader"
[31]=>
string(9) "xmlwriter"
[32]=>
string(14) "apache2handler"
[33]=>
string(5) "mhash"
}

 
0
LaTatadu91 Messages postés 968 Date d'inscription jeudi 20 mai 2004 Statut Membre Dernière intervention 26 avril 2013 1
12 nov. 2010 à 22:58
Bon ben je suis repassé sous easyphp et ça va mieux...

 
0
Rejoignez-nous