|
Posted by Malcolm Wright on 10/12/05 12:03
James wrote:
> David Haynes wrote:
>
>> James wrote:
>>
>>> Ok, PHP starts beautifully now. But MySQL is another story. When I
>>> restart Apache I get the following error message, which I copied from
>>> the Apache error log:
>>>
>>> [Tue Oct 11 21:35:17 2005] [notice] jrApache[init] JRun 4.0 (Build
>>> 91015) Apache 2 module - Jan 6 2005 15:25:33
>>> PHP Warning: PHP Startup: Unable to load dynamic library
>>> 'c:/php/ext/php_mysql.dll' - The specified module could not be
>>> found.\r\n in Unknown on line 0
>>>
>>> My path is set as follows in php.ini:
>>>
>>> extension_dir = "c:/php/ext/"
>>>
>>> I also tried it with and without quotes and without the last / to no
>>> avail. And php_mysql.dll does live in this directory. The original
>>> path was "./", which worked just as well. Any clues?
>>
>>
>>
>> Have you remembered to copy libmysql.dll into the Apache2\bin directory?
>>
>> -david-
>>
>
> I did not remember that. I didn't even find it in the documentation. But
> it did the trick. You are a god (small "g") to me. :-)
>
> James
>
I was having the same problem - see "MYSQLi problem in PHP - earlier on
in this newsgroup.
Thanks to David's help I upgraded to Apache 2 and copied the libmysqli
into the directory and it now all works for me!
Many, many thanks.
Malcolm Wright
Navigation:
[Reply to this message]
|