OVH Cloud OVH Cloud

PHP 5 et mysql ?

5 réponses
Avatar
runan
Bonjour,

En lançant le configure pour php 5 il me dit ça :
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under /usr/local
Note that the MySQL client library is not bundled anymore.

J'ai pourtant désinstaller le rpm client de mysql ...

que faire ?

5 réponses

Avatar
Raphael 'SurcouF' Bordet
On ven, 2004-07-16 at 22:33 +0000, runan wrote:
Bonjour,

En lançant le configure pour php 5 il me dit ça :
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under /usr/local
Note that the MySQL client library is not bundled anymore.

J'ai pourtant désinstaller le rpm client de mysql ...


Simple question: as-tu déjà compilé php à la main par le passé ?
Ce n'est pas du client dont tu as impérativement besoin mais du paquet
rpm de développement, avec les fichiers d'entêtes de MySQL.

--
Raphaël 'SurcouF' Bordet

# | http://www.debianfr.net

Avatar
Frederic BISSON
J'ai pourtant désinstaller le rpm client de mysql ...
Il faut récupérer le client MySQL sur http://www.mysql.org et

l'installer. Il faut suivre les consignes données dans les fichiers
d'aide accompagnant l'archive.

Si tu récupères et installes un RPM, tu n'auras pas obligatoirement les
fichiers de développement nécessaires à PHP. Il vaut donc mieux
récupérer le client MySQL comme indiqué ci-dessus.

@+

Frédéric

Avatar
Sebastian Lauwers
runan wrote:

Bonjour,


Bonsoir,

Note that the MySQL client library is not bundled anymore.


Notez que la bibliothèque MySQL cliente n'est plus empaquetée.


HTH,
Sebastian


--
The most likely way for the world to be destroyed,
most experts agree, is by accident.
That's where we come in; we're computer professionals.
We cause accidents.
--Nathaniel Borenstein

Avatar
ludovic.guipon
En lançant le configure pour php 5 il me dit ça :
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under /usr/local
Note that the MySQL client library is not bundled anymore.
J'ai pourtant désinstaller le rpm client de mysql ...


Bon déjà tu es sur quel distribution mandrake, Suse, ou Fedora ?
Quel paquet tu appelles le client mysql ?

Pour enlever le client de mysql de ma mandrake je fais rpm -e
MySQL-client-4.0.15-1.1.92mdk

Maintenant si je veux enlever le module mysql de php de ma mandrake je fais
rpm -e php-mysql-4.3.2-3mdk.

J'imagine et tu ne l'a pas dit que c'est une version compiler ? non ? Donne
des précisions c'est beaucoup trop vague.

Sinon si le module a l'air d'être bien présent sur le log que je peux voir
le client lui a l'air absent.

Avatar
runan

On ven, 2004-07-16 at 22:33 +0000, runan wrote:


Bonjour,

En lançant le configure pour php 5 il me dit ça :
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under /usr/local
Note that the MySQL client library is not bundled anymore.

J'ai pourtant désinstaller le rpm client de mysql ...




Simple question: as-tu déjà compilé php à la main par le passé ?
Ce n'est pas du client dont tu as impérativement besoin mais du paquet
rpm de développement, avec les fichiers d'entêtes de MySQL.



En effet c'est ça ....


Merci beaucoup !!!!