php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8416 Unable to load dynamic library
Submitted: 2000-12-25 09:08 UTC Modified: 2003-06-06 05:01 UTC
From: jcwang at mail dot cgu dot edu dot tw Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.0.4 OS: Windows 2000 - professional
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 - 20 = ?
Subscribe to this entry?

 
 [2000-12-25 09:08 UTC] jcwang at mail dot cgu dot edu dot tw
Installating bugs 
Platform: windows 2000 (professional) + IIS 5.0
version: Win32 Binaries PHP 4.0.4 - 19 December 2000, 
From: http://www.php.net/downloads.php, 2000/12/25
Remark: 3.79 Mb CGI binary and ISAPI module included, MySQL support built-in, many extensions included, packaged as zip

Maybe: the / after "extension_dir" yet not change to Win32 style...

Unable to load dynamic library 'c:\php\extentions/php_db.dll'- ...
Unable to load dynamic library 'c:\php\extentions/php_gd.dll'- ...
Unable to load dynamic library 'c:\php\extentions/php_ldap.dll'- ...
Unable to load dynamic library 'c:\php\extentions/php_mhash.dll'- ...
Unable to load dynamic library 'c:\php\extentions/php_mssql70.dll'- ...
Unable to load dynamic library 'c:\php\extentions/php_pdf.dll'- ...
Unable to load dynamic library 'c:\php\extentions/php_pgsql.dll'- ...
Unable to load dynamic library 'c:\php\extentions/php_zlib.dll'- ...

My php.ini:
...
extension_dir	=	c:\php\extentions
...
;extension=php_cpdf.dll
;extension=php_cybercash.dll
 extension=php_db.dll
;extension=php_dbase.dll
;extension=php_domxml.dll
;extension=php_dotnet.dll
;extension=php_exif.dll
;extension=php_fdf.dll
 extension=php_gd.dll
;extension=php_gettext.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_java.dll
 extension=php_ldap.dll
 extension=php_mhash.dll
;extension=php_mssql65.dll
 extension=php_mssql70.dll
;extension=php_oci8.dll
;extension=php_oracle.dll
 extension=php_pdf.dll
 extension=php_pgsql.dll
;extension=php_sablot.dll
;extension=php_swf.dll
;extension=php_sybase_ct.dll
 extension=php_zlib.dll

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-05 12:14 UTC] dbeu@php.net
are you sure they are stored there?
additionally make sure that there's no other php.ini hanging around in your system which causes the error.
 [2001-03-09 21:28 UTC] sniper@php.net
No feedback.

 [2003-06-05 17:51 UTC] info at ipdg3 dot com
I have installed PHP4.3.2 on a Win2k Server with IIS 5.0. Everything works great till I uncomment this line.

extension=php_ldap.dll

; Directory in which the loadable extensions (modules) reside.
;extension_dir = "./"
extension_dir = "C:\php\extensions"

I get this message.

Unknown(): Unable to laod dynamic library 'C:\php\extensions\php_ldap.dll' - The operating system cannot run %1

I am not sure if it is setup right but it use to work before the update any suggestions.
 [2003-06-05 17:55 UTC] info at ipdg3 dot com
Sorry guess left something out. It worked on the previous install I did and once I upgraded it stopped working as specified above. I have checke the files and they are there. I have also made sure there are no php.ini files on the system rebooted, stopped and started the website etc nothing seems to work. Also the Win2k server is all up to date on patches. Thought I would add that some Microsoft patches break things.
 [2003-06-05 18:00 UTC] info at ipdg3 dot com
Never Mind this post answered it Stupid me I forgot to copy the new DLLs into the system32 folder. 

http://bugs.php.net/bug.php?id=21522
 [2003-06-06 05:01 UTC] mgf@php.net
User error -> Bogus
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Feb 02 11:05:52 2023 UTC