php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28544 PHP Startup: Unable to load dynamic library ...
Submitted: 2004-05-27 17:47 UTC Modified: 2004-07-06 15:47 UTC
Votes:9
Avg. Score:4.3 ± 1.3
Reproduced:9 of 9 (100.0%)
Same Version:6 (66.7%)
Same OS:6 (66.7%)
From: kalas at atlas dot cz Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 5.0.0RC2 OS: WinXP Pro
Private report: No CVE-ID: None
 [2004-05-27 17:47 UTC] kalas at atlas dot cz
Description:
------------
PHP fails to load any extension, that I enable in php.ini, with error message (for ex. for php_exif.dll) "PHP Startup: Unable to load dynamic library "C:\Program Files\php-5.0.rc2\ext\php_exif.dll'. Any change to extension_dir doesn't seem to work, I still get the error message whatever the path is (the modules are really stored there).

I'm running Apache 2.0.49 and PHP as module.

With PHP 4.3.4 it works fine with the same Apache.

Regards,
Radim Kalas


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-31 13:32 UTC] jdiezm at gmx dot de
Hi,

i had the same problem. PHP needs to find *all* DLL's, not only those in the "ext" dir. The libmhash.dll, libmysql.dll, etc... are on the main PHP directory. I copied them to the the extensions directory (c:\Windows in my case) and everything works now.

Is it a bug that PHP doesnt find those DLL's automatically? 

                                J.
 [2004-06-05 23:39 UTC] Philip dot Heath at charter dot net
I found this on another forum:

"the php_mysql.dll extension supports mysql_create_db() and mysql_drop_db() functions as do the mySQL 3.x client libraries. Fine.
But these 2 functions are dropped in versions 4.x and 5.x of libmySQL.dll."

Perhaps verifying what version of MySQL libs php_mysql.dll are build against could shed some light.
 [2004-06-15 08:29 UTC] florian dot caspari at xx-well dot com
Additional comment: This bug only occurs if additional .dlls are needed - in my case for the php_yaz extension.  This additional dlls are stored in my php version in the folder *dlls* and not in *extensions*


The zip extension, which requires no additional dll, works fine.

Haven't found a solution yet.
 [2004-06-21 00:50 UTC] arkeet at shaw dot ca
I (using RC3, Apache 1.3.31) had this problem too with php_mysql.dll. I worked around this problem by copying libmysql.dll from the PHP root directory to the Windows directory, and everything worked fine.
 [2004-07-06 15:47 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Old version and bad installation. Please read the install.txt and ask further support questions on the proper arena. (this is NOT ?nstallation support forum!)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC