|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2024 The PHP Group
All rights reserved.
Last updated: Sun Feb 25 13:01:27 2024 UTC