I just downloaded PHP-4.3.3 for win32 and got the extensions folder and
dropped it intot he root of the PHP directory and set it's path in the
PHP.ini:
extension_dir = "c:/php/extensions/"
But I am still getting the error that it can't find the php_mhash.dll though
I can see that it is indeed in the folder.
Any ideas?
Thanks,
Stef
Using windows:
In an attempt to use mhash() I am getting this error:
Fatal error: Call to undefined function: mhash() in
C:\resin-2.1.4\webapps\dishsupplies\orderforms\simlib.php on line 17
PHP Warning: Unknown(): Unable to load dynamic library
'c:/php/extensions/php_mhash.dll' - The specified module could not be found. in Unknown on line 0
I am running this on windows with the latest PHP version.
I have set the extension directory entry in the PHP.ini to:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:/php/extensions/"
But I have not folder called extensions nor do I have the mhash.dll. Where
can I get this DLL?
Finally I have uncommented the oppropriate extension
(extension=php_mhash.dll) entry in the PHP.ini:
;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for
it.
;
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
;extension=php_curl.dll
;extension=php_db.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
;extension=php_domxml.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_hyperwave.dll
;extension=php_iconv.dll
;extension=php_ifx.dll
;extension=php_iisfunc.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_java.dll
;extension=php_ldap.dll
;extension=php_mbstring.dll
;extension=php_mcrypt.dll
extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pdf.dll
;extension=php_pgsql.dll
;extension=php_printer.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sybase_ct.dll
;extension=php_w32api.dll
;extension=php_xmlrpc.dll
;extension=php_xslt.dll
;extension=php_yaz.dll
;extension=php_zip.dll