|
Posted by Rik Wasmus on 10/30/07 22:15
On Tue, 30 Oct 2007 22:32:31 +0100, Cool Dude <cooldude666666@gmail.com>
wrote:
> On Oct 2, 11:43 pm, macca <ptmcna...@googlemail.com> wrote:
>> This usually happens due to an old version of php_mysql.dll on your
>> system somewhere.
>>
>> When this bit me it was because i had a copy of php_mysql.dll in my
>> apache folder, even though i had configured php.ini to read it from
>> the new php directory.
>>
>> Search your system (e.g. start->search) for "php_mysql.dll" and delete
>> them all except for the one in the php/ext directory (the up-to-date
>> one).
>>
>> Make sure you have a copy of php_mysql.dll in the php/ext directory
>> and php.ini has the correct path to your php/ext directory.
>>
>> Regards,
>>
>> Paul
>
> Thanks Paul/macca. Although I have seen this reply after a long time,
> I guess it will be helpful when I do a fresh install of WAMP some
> other time. My problem was solved by copying the "libmysql.dll" file
> inside the "php\." directory to the "windows\system32\" Someone on IRC
> told me to do that.
>
The manual told you too, explicitly:
http://nl2.php.net.mysql:
"Installation on Windows Systems
....
PHP 5+
....A file named libmysql.dll is included in the Windows PHP distribution
and in order for PHP to talk to MySQL this file needs to be available to
the Windows systems PATH. See the FAQ titled "How do I add my PHP
directory to the PATH on Windows" for information on how to do this..."
--
Rik Wasmus
Navigation:
[Reply to this message]
|