Re: "cannot load mysql extension" - PHP Installation on Vista/Apache

From: Date: Fri, 16 Mar 2007 14:59:45 +0000
Subject: Re: "cannot load mysql extension" - PHP Installation on Vista/Apache
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-250709@lists.php.net to get a copy of this message
Ok, this didn't work for me. I replaced the "libmySQL.dll" in my php installation with the one in my mySQL Server installation. Still getting the same : "cannot load mysql extension, please check PHP Configuration" I can't figure for the life of me why mySQL extension won't work with PHP just because I'm running Vista. Never had this problem ever before. Anyone?!? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: sleepwalker@rahulsjohari.com ³I morti non sono piu soli ... The dead are no longer lonely² On 3/14/07 9:54 AM, "Richard Davey" <rich@corephp.co.uk> wrote: > Rahul Sitaram Johari wrote: > >> 'cannot load mysql extension, please check PHP Configuration'. >> >> I¹ve installed PHP on XP computers hundreds of times, so I¹m not exactly a >> newbie to this, but I¹m not sure if it¹s Vista causing the problem or I¹m >> doing something wrong. > > Which MySQL extension are you using? The native mysql or mysqli? I had > to copy the libMySQL.dll file that is installed when you install MySQL 5 > over the top of the one in the PHP 5 installation directory before it > would work for me on Vista Home Premium. > > I.e. I copied this: > > C:\Program Files\MySQL\MySQL Server 5.0\bin\libmySQL.dll > > to here: > > C:\PHP\php-5.2.1-Win32 > > replacing the one that existed already. > > Cheers, > > Rich

« previous php.general (#250709) next »