ID:               26837
 Comment by:       peter dot bates at lands dot nsw dot gov dot au
 Reported By:      webmaster at sparovcek dot net
 Status:           Bogus
 Bug Type:         mhash related
 Operating System: Win2k server/IIS5
 PHP Version:      4.3.4
 New Comment:

I had this issue myself.

Its not a bug with PHP, just a windows issue.



php_mhash.dll depends on another DLL, libmhash.dll

This is stored in D:\php\dlls\libmhash.dll, or wherever PHP is
installed to.



The fastest way to get it working is copy libmhash.dll to your 

%SystemRoot%\system32 dir.



Same goes for quite a few extensions.



Hope this helps.



Peter Bates

Systems Administrator

NSW Department of Lands


Previous Comments:
------------------------------------------------------------------------

[2004-01-08 06:30:44] [EMAIL PROTECTED]

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.

You were just doing something wrong...

------------------------------------------------------------------------

[2004-01-08 04:19:25] webmaster at sparovcek dot net

Description:
------------
I was trying to install php_mhash.dll with bundled libmhash.dll library
on my Windows 2000 server, but it simply did not start!

Everytime I called mhash() function, I get error:



"Call to undefined function mhash() ..."



After some exercise with checking /extensions dir, and PHP.INI, and
after I found 0 (ZERO) configuration mistakes (all other extensions and
modules loaded with no problem), I did the following:



I copied the PHP installation from server to my local machine, and
installed it. And mhash() function WORKED WITH NO PROBLEM!



Now, where are the diferences?



MHASH is NOT WORKING on this machine:

- Windows 2000 server

- IIS 5

- PHP 4.3.4 loaded as ISAPI 



MHASH is WORKING on this machine:

- Windows XP pro

- Apache 1.3.23

- PHP 4.3.4 loaded as CGI/EXE



My opinion is that running PHP as ISAPI module has something to do with
it. But I did not experiment too much, because I have only *working*
server, not for development purposes.





------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26837&edit=1

Reply via email to