#42005 [Opn->Bgs]: dynamic loading of librarys with dependencies
| From: | jani@php.net | Date: | Mon, 16 Jul 2007 10:22:55 +0000 |
| Subject: | #42005 [Opn->Bgs]: dynamic loading of librarys with dependencies | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-115105@lists.php.net to get a copy of this message | ||
ID: 42005
Updated by: jani@php.net
Reported By: feldschmid at web dot de
-Status: Open
+Status: Bogus
Bug Type: Dynamic loading
Operating System: XP
PHP Version: 5.2.3
New Comment:
It's not possible to know why loading an extension fails. So can't
really improve this.
Previous Comments:
------------------------------------------------------------------------
[2007-07-16 09:44:59] feldschmid at web dot de
Description:
------------
When loading dynamic librarys with dependencies - and the dependency
cannot be found - the error-message states the dynamic library itself
cannot be found :(
Reproduce code:
---------------
Loading Dynamic Librarys with dependencies:
Apache-Error-Log:
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\\PHP\\ext\\php_mysql.dll' - Das angegebene Modul wurde nicht
gefunden.\r\n in Unknown on line 0
is shown on startup, also the missing file is libmysql.dll and not
php_mysql.dll
(if i include libmysql.dll in my system32 folder, the warning is gone.
All dirs in php.ini etc. are set correctly)
Also true for other libs with dependencies.
Not sure if this is intended or uninvitable, or an apache-bug, and i
know that the manual tells you that you have to copy the libs to your
system32 or set the PATH-Folder.. but if the warning-msg could be more
specific, a lot of people would be able to fix the problem faster?
Expected result:
----------------
Expected:
PHP Warning: PHP Startup: Unable to load dynamic library
'libmysql.dll'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42005&edit=1