Re: "cannot load mysql extension" - PHP Installation on Vista/Apache
| From: | Rahul Sitaram Johari | Date: | Wed, 14 Mar 2007 14:05:24 +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-250564@lists.php.net to get a copy of this message | ||
You kidding me? I didn't know anything about that! That could be the
solution! I'm gonna give this a try and see if that makes a difference.
I'm using native mySQL btw, not mysqli.
Thanks!
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