php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22027 can't load selected (not all) extensions like mhash
Submitted: 2003-02-03 04:20 UTC Modified: 2003-02-03 04:41 UTC
From: arne dot sigge at uni-bielefeld dot de Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.3.0 OS: windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: arne dot sigge at uni-bielefeld dot de
New email:
PHP Version: OS:

 

 [2003-02-03 04:20 UTC] arne dot sigge at uni-bielefeld dot de
What my problem is:

- Error: "Unknown() unable to load dynamic library 'c:\php\extensions\php_mhas.dll'

What I have: 

- Apache 2.0.40 on a 
- Win2k SP3 sytsem 
- with PHP 4.3.0. as a CGI. (downloaded 03.02.03)

Everything worked fine with PHP 4.2.3.

- no problems with other dlls like php_gd.dll !!!

What I saw
- php_mhash.dll 4.3.0 ca. 20kb
- php_mhash.dll 4.2.3 ca. 100kb

What I did: 
- rebooted the system (several times)
- put php_mhash.dll in several directories (c:\winnt\system32; c:\winnt; c:\php; c:\php extensions)
- put c:\php\extensions in the PATH 
- tried lot's of variations for the extensions dir setting 
  (./; c:\php\extensions, 'c:\php\extensions', '.;c:\php\extensions' etc.)
- deleted every other instances of dlls from the system
 
What I think: 

- It's not a problem with the extensions - path, because other dll can be found
- something changed with the mhash.dll. Couldn't find a hint for different usage in the changes.txt
- it's not my fault. Tested it on 2 Systems (win2k and NT) got reports from a XP-system with same problems

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-03 04:24 UTC] sniper@php.net
Did you copy all the dlls from the dlls/ folder in the package to the correct system directory???

Edin: Did something change in building this extension?

 [2003-02-03 04:33 UTC] arne dot sigge at uni-bielefeld dot de
I copied them to a dir which is in the PATH, what I preferr, cause I don't like to copy everything to the big winnt\system32 dir. Following your hint I did copy them to winnt\system32 and it worked. Sorry, I was blind! Thanx for the help. Just noticed, that there are some new dlls as well. didn't payed attention to that.
 [2003-02-03 04:41 UTC] derick@php.net
User error :) -> bogus
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Feb 14 07:00:02 2026 UTC