|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24292 cannot load extensions
Submitted: 2003-06-23 02:41 UTC Modified: 2003-06-23 17:23 UTC
From: php4bug at ccso dot com Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 4.3.3RC1 OS: Windows XP Pro
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.
Block user comment
Status: Assign to:
Bug Type:
From: php4bug at ccso dot com
New email:
PHP Version: OS:


 [2003-06-23 02:41 UTC] php4bug at ccso dot com
Installed PHP4 for in D:\PGMS\PHP
and Apache2 in D:\PGMS\Apache2
Copied php4ts.dll to the D:\PGMS\Apache2\modules folder
Added the LoadModule php4_module modules/php4apache2.dll
and the AddType application/x-httpd-php .php to the .conf
file. Started Apache2 OK
Run phpinfo () script in the browser for the site OK

Edited c:\windows\php.ini to change the extension directory
to "D:\PGMS\PHP\extensions" and uncommented the php4_mhash.dll line to make it available.
Restarted Apache2 and got the error:
Unknown(): Unable to load dynamic library 'D:\PGMS\PHP\extensions\php_mhash.dll' - The specified module could not be found.

Tried to copy the php_mhash.dll to C:\Windows, C:\Windows\system32, D:\PGMS\Apache2\modules, and D:\PGMS\PHP folders. Still gets a similar error.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-23 03:17 UTC]
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 as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

You need to copy the mhash.dll, not the php_mhash.dll
 [2003-06-23 17:23 UTC]
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Nov 30 02:01:27 2023 UTC