cannot load mysql extension in vista

Problems with the Windows version of XAMPP, questions, comments, and anything related.

cannot load mysql extension in vista

Postby grissom » 06. February 2009 12:02

Hi all
I installed XAMPP on my laptop running VISTA with the UAC turned off, like it says you should.

The MySQL bit is working fine, as is the PHP so long as I don't use any MySQL commands.

Also, when I try to run any of the supplied PHP programs that come with XAMPP, I get the error message "Cannot load MySQL extension".

I've looked in php.ini - don't see anything untoward there.

Please help, this is driving me mad ! many thanks.
grissom
 
Posts: 2
Joined: 06. February 2009 09:49

Re: cannot load mysql extension in vista

Postby Izzy » 06. February 2009 12:12

Do a search of your laptop for any php.ini files - delete or rename any you find except the one in xampp\apache\bin\ folder, which is the one Apache/PHP uses.

Restart Apache and try again.

Let us know back if that helps.
Thanks
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: cannot load mysql extension in vista

Postby grissom » 06. February 2009 12:40

Hi Izzy, thanks for the reply, I really appreciate this.

Do you have a crystal ball or something ? hehe .. I had an old installation of PHP installed in C:\PHP which I'd downloaded some time ago from the php website.

On closer inspection it turned out there was a php.ini file in there which was conflicting with the XAMPP ini file.

I did as you suggested - and - TA DA - success !
A MASSIVE, MASSIVE THANK YOU, YOUR POST WAS A HUGE HELP : ) : )
grissom
 
Posts: 2
Joined: 06. February 2009 09:49

Re: cannot load mysql extension in vista

Postby Izzy » 06. February 2009 12:44

Thanks for posting back with your result as it may help others searching for a solution with a similar issue.

Pleased it turned out OK for you. :)

Best wishes and good luck.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 57 guests