|
Posted by Jerry Stuckle on 10/22/06 22:02
SMH wrote:
> Andy Hassall <andy@andyh.co.uk> wrote in alt.php:
>
>
>>On Sun, 22 Oct 2006 17:52:44 GMT, SMH <smh@munged.address.com> wrote:
>>
>>
>>>Template Document Processor: PHP 5.1.6
>>>Server: Apache httpd 2.0.55 (Win32)
>>>Database Server: MySQL 5.0.26-community for Win32
>>>Operating System: Windows XP Pro SP2
>>>
>>>=======
>>>
>>>I just installed PHP and MySQL on my laptop for development purposes.
>>>
>>>The following directives are set in php.ini (Windows config file):
>>>
>>> extension=php_mysqli.dll
>>> extension_dir = "c:\php\ext\"
>>>
>>>No other extension is set (for the time being).
>>>
>>>The Visible Problem:
>>>
>>>When Apache is (re)started, the following error alert appears:
>>>
>>> PHP Startup: Unable to load dynamic library
>>> 'c:\php\ext\php_mysqli.dll' - The specified
>>> module could not be found.
>>
>> This may not actually refer directly to the extension DLL - it could
>> be the
>>extension DLL in turn attempting to load the MySQL client DLL.
>>
>> Is the MySQL bin directory on the PATH (as seen from the Apache
>> server
>>process) so it can load libmysql.dll?
>
>
> I have copied the path below
> (Start->My Computer->Properties->Environment Variables->
> select Path->click Edit->copy from there & paste here):
>
> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
> C:\Program Files\ATI Technologies\ATI Control Panel;C:\MassLynx\;
> C:\Program Files\QuickTime\QTSystem\;C:\MySQL\MySQL Server 5.0\bin;C:\PHP
>
>
> Also, the environment variable 'PHPRC' is set to "C:\PHP" and the user
> environment variable has 'PATH' with value 'C:\PHP'
>
>
> Why would PHP want to link with libmysql.dll? Is it an API for processes
> wanting to interact with the MySQL daemon/server?
???
Maybe because you told it to load the mysqli extension? And just maybe
that extension, since it calls mysql, needs access to the mysql libraries?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|