#42005 [NEW]: dynamic loading of librarys with dependencies
| From: | feldschmid at web dot de | Date: | Mon, 16 Jul 2007 09:44:59 +0000 |
| Subject: | #42005 [NEW]: dynamic loading of librarys with dependencies | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-115104@lists.php.net to get a copy of this message | ||
From: feldschmid at web dot de
Operating system: XP
PHP version: 5.2.3
PHP Bug Type: Dynamic loading
Bug description: dynamic loading of librarys with dependencies
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 bug report at http://bugs.php.net/?id=42005&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42005&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42005&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42005&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42005&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42005&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42005&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42005&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42005&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42005&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42005&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42005&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42005&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42005&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42005&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42005&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42005&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42005&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42005&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42005&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42005&r=mysqlcfg