Je suis un inconditionnel de Xampp (kit d’installation d’Apache qui contient MySQL, PHP et Perl) sous windows.
Lors de l’installation de la dernière version 1.7.0 j’ai été confronté à un problème lors de l’utilisation de Magento et Symfony.
En effet, ils utilisent tous les deux la couche d’accès aux données PDO et la dll livrée de base avec Xampp libmysql.dll provoque un plantage.
Je vous propose de télécharger libmysql.dll (800 ko) sur mon site libmysql_dll.zip.
Une fois téléchargé, dézippée, récupérer le fichier libmysql.dll que vous allez copier à 3 endroits :
- dans xampp\apache\bin
- dans xampp\php
- et dans windows\system32
ps : avant toute copie renommer le fichier libmysql.dll présent dans chaque répertoire en libmysql.dll_ ce qui vous permettra le cas échéant de revenir en arrière.Redémarrer XAMPP, Apache et MySql.
Vos applications utilisant PDO devrait maintenant parfaitement fonctionner !!!
Tags: Magento|MYSQL|PHP|Symfony
Hello , can you please translate this Article to English?
I try reading it with
translate.google.com/translate?prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fwww.netfulvpc.fr%2Fphptechnoframe%2Ftrucs-et-astuces%2Fxampp-17&sl=auto&tl=en&history_state0=
but it’s not good…
Is this Article solve the PDO driver problem ?
IT solves the PDO driver problem…!!!
Hello Dvir try to use REVERSO, it’s better than Google Translate, it gives :
I am an ardent supporter of Xampp (kit of installation of Apache which contains MySQL, PHP and Perl) under Windows.
During the installation of the last version 1.7.0, I was confronted with a problem during the use of Magento and Symfony.
Indeed, they use both the access layer of PDO and the dll delivered with Xampp libmysql.dll provokes a crash.
I suggest you to download libmysql.dll (800 Kb) on my site libmysql_dll.zip.
Once downloaded, unzipped, copy the libmysql.dll file in 3 directories :
- In xampp\apache\bin
- In xampp\php
- And in windows\system32
Ps: before any copy rename the libmysql.dll file in every directory by libmysql.dll_ what will allow you if necessary to reverse back. Restart XAMPP, Apache and MySql.
Your PDO’s applications should work fine by now!!!
Effectivement ça résoud bien le problème !
Quel est le défaut de la dll d’origine ?
Je ne sais pas quel est le défaut de la dll d’origine !!!
Un énorme merci pour ce post. Ca résout parfaitement mon problème (ça faisait 4 heures que je cherchais).
J’aimerais bien tout de même comprendre le fond du pb.
J’aimerai moi aussi connaître pourquoi Xampp a été livré avec la mauvaise DLL…
Merci ça marche nickel !
Bonjour je voulais savoir si tu avais aussi remplacé la dll « php_pdo_mysql.dll »
de Xampp avec la version 1.7 comme pour les versions précédentes lors de l’installation de Magento ?
Ou est ce que ce problème a été corrigé.
Non Yann, j’ai juste mis à jour libmysql.dll, je n’ai touché à rien d’autre
Merci!
I followed these steps and now my symfony app is working again
Hello,
Si quelqu’un a une solution sous linux, je suis preneur. Je n’ai rien trouvé sur le net pour le moment :/
Merci
Merci bcp !
Y a t’il un lien officiel pour télécharger ce dll ?
Où l’avez vous trouvé ?
Merci encore !
Bobby, non pas de lien officiel, je ne me rappelle plus où je l’ai trouvé, j’avais du rechercher via google « libmysql.dll ».
Content que la DLL puisse t’aider.
Le fichier dll est ici , bonne chance a vous:
http://www.netfulvpc.fr/phptechnoframe/trucs-et-astuces/xampp-17/