php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42005 dynamic loading of librarys with dependencies
Submitted: 2007-07-16 09:44 UTC Modified: 2007-07-16 17:51 UTC
From: feldschmid at web dot de Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 5.2.3 OS: XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: feldschmid at web dot de
New email:
PHP Version: OS:

 

 [2007-07-16 09:44 UTC] 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'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-16 10:22 UTC] jani@php.net
It's not possible to know why loading an extension fails. So can't really improve this.
 [2007-07-16 17:51 UTC] feldschmid at web dot de
Oh okay, thank you for the information, i didn't know that it's not possible to get more information why an extension fails to load.
Thx anyways :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 22:01:28 2024 UTC