Andy Hassall <an**@andyh.co.ukwrote in alt.php:
On Sun, 22 Oct 2006 17:52:44 GMT, SMH <sm*@munged.address.comwrote:
>>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%\Sy stem32\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?