473,372 Members | 1,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 software developers and data experts.

PHP Warning: Unknown(): Unable to load dynamic library php_mhash.dll

Hi,

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

Jul 16 '05 #1
1 20590
Forget I found the problem. I had to install the dlls in the System win32
folder


"Stefan" <ni***@studioweb.com> wrote in message
news:7S*******************@news20.bellglobal.com.. .
Hi,

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


Jul 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Nancy | last post by:
Hi, When I start my PC(winXP Pro), it always says: Unknown(): Unable toload dynamic library './php_msql.dll' - The specified module could not be found. Then my Apache servre starts, load php...
2
by: R | last post by:
Hi. I have just reintalled my computer and with that; PHP. But.. I keep getting the error: PHP Startup: Unable to load dynamic library 'C:\PHP\modules\php_mysql.dll' - The specified module...
0
by: Karim | last post by:
I am getting the error "unable to load dynamic libray php_mcrypt.dll...". I understand that php_mcrypt.dll depends on the existence of libmcrypt.dll library. I am using Windows 2003 and I have...
3
by: anagai | last post by:
hi I am trying to install the java bridge library for php 5.1.2. I have installed the j2see 1.4 and jdk. I have setup the section in php.ini as follows: java.classpath =...
0
by: Howard | last post by:
I installed pear or was trying to. I ran the pear_env.reg script to load pear in registry in order to have it in my path. But typing pear at the command line does not work. Pear is not...
0
by: Manish | last post by:
PHP INI File Setting ------------------------------------------------------------------------------------------------------------------ error_reporting = E_ALL & ~E_NOTICE No warning message are...
6
by: delusion7 | last post by:
I keep getting this error and/or similar errors. I am very new to mysql and php. "PHP Warning: Unknown(): Unable to load dynamic library './php_mysqli.dll' - The specified module could not be...
0
by: danish | last post by:
I download the oci-1.2.2.tgz file and generated the oci8.so file. After adding the extension=oci8.so in php.ini I get the error unable to load dynamic library /usr/lib/php4/oci8.so
0
by: dreamer247 | last post by:
hi all.. i am facing a warnig sayin "unable to load the dynamic library the specifeid module not found./ " i am working with mssql and php_mssql.dll is placeed at c:\windows\system32. ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.