From:             webmaster at sparovcek dot net
Operating system: Win2k server/IIS5
PHP version:      4.3.4
PHP Bug Type:     mhash related
Bug description:  mhash seems not loading on PHP as ISAPI

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 bug report at http://bugs.php.net/?id=26837&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26837&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26837&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26837&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26837&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26837&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26837&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26837&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26837&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26837&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26837&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26837&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26837&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26837&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26837&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26837&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26837&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26837&r=float

Reply via email to