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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx

³I morti non sono piu soli ... The dead are no longer lonely²



On 3/14/07 9:54 AM, "Richard Davey" <rich@xxxxxxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux