474,040 Members | 16,031 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mhash functions for my windows apache development server

I'm trying to set up a web page for credit card transactions and baffled
trying to find a download for mhash functions for my windows apache
development server. The real server supports mhash but I can't test it
on my localhost system. php.net points me to
http://pecl.php.net/packages.php where I don't see it in plain english,
googling around it looks like this may be it:
http://sourceforge.net/forum/forum.php?forum_id=585348 but it's short on
giving me a clue.

help! I'm lost...
Feb 27 '07 #1
3 3203
Paul Furman wrote:
I'm trying to set up a web page for credit card transactions and baffled
trying to find a download for mhash functions for my windows apache
development server. The real server supports mhash but I can't test it
on my localhost system. php.net points me to
http://pecl.php.net/packages.php where I don't see it in plain english,
googling around it looks like this may be it:
http://sourceforge.net/forum/forum.php?forum_id=585348 but it's short on
giving me a clue.

help! I'm lost...
Downloaded from:
<http://sourceforge.net/project/downloading.php ?group_id=4286& use_mirror=easy news&filename=m hash-0.9.8.1.tar.gz& 81187806>
from : http://mhash.sourceforge.net/
where they say "Note: Win32 DLLs have been removed. Use cygwin to
compile." http://www.cygwin.com/
now that looks like some kind of unix/linux emulator... all I want to do
is add these libraries to my winxp apache server argh. Something like
just copy them over & add a path to httpd.conf?
Feb 27 '07 #2
Paul Furman wrote:
Paul Furman wrote:
>I'm trying to set up a web page for credit card transactions and
baffled trying to find a download for mhash functions for my windows
apache development server. The real server supports mhash but I can't
test it on my localhost system. php.net points me to
http://pecl.php.net/packages.php where I don't see it in plain
english, googling around it looks like this may be it:
http://sourceforge.net/forum/forum.php?forum_id=585348 but it's short
on giving me a clue.

help! I'm lost...

Downloaded from:
<http://sourceforge.net/project/downloading.php ?group_id=4286& use_mirror=easy news&filename=m hash-0.9.8.1.tar.gz& 81187806>

from : http://mhash.sourceforge.net/
where they say "Note: Win32 DLLs have been removed. Use cygwin to
compile." http://www.cygwin.com/
now that looks like some kind of unix/linux emulator... all I want to do
is add these libraries to my winxp apache server argh. Something like
just copy them over & add a path to httpd.conf?
Hmm, I did already have some mhash dlls in my php folder:
C:\PHP\libmhash .dll
C:\PHP\extensio ns\php_mhash.dl l
so I uncommented this line in my.ini:
extension=php_m hash.dll
....but restarting the apache service I get an error saying it ccan't
find php_mhash.dll THREE TIMES.

hmmm?
Feb 27 '07 #3
Paul Furman wrote:
>
Hmm, I did already have some mhash dlls in my php folder:
C:\PHP\libmhash .dll
C:\PHP\extensio ns\php_mhash.dl l
so I uncommented this line in my.ini: [should read php.ini]
extension=php_m hash.dll
...but restarting the apache service I get an error saying it ccan't
find php_mhash.dll THREE TIMES.
Googling the exact error:
unknown(): Unable to load dynamic library './php_mhash.dll' - The
specified module could not be found.
I found this suggestion:
Causes

The most common cause may be a misconfigured extension_dir setting in your php.ini.
Hmm, it simply reads:
extension_dir = "./"

so I tried:
extension_dir = "C:/PHP/extensions"
.... same triple error message...
You may also encounter the above errors if you enable all the extensions in PHP. The errors are generally caused by misconfigured extensions. Some extensions (e.g. Oracle) require additional setup, software, and support DLLs, which come from outside the main PHP installer.
Maybe the phpMyAdmin added a funny file? Nah, that just sits in it's own
folder.
You may have out-of-date extension DLLs in your extensions directory.
It's installed from a full package named php-4.3.4-Win32.zip dated
12-16-06 (pretty recent).
Some extensions may also have bugs that are causing warnings.
Solutions

You must configure extension_dir correctly to point to the folder with the DLL files.

Disable all unused extensions. You can easily disable an extension by commenting-out the corresponding line from your php.ini file. (php.ini may be located in c:\program files\php, c:\windows, c:\php, etc.) Comment-out lines by placing a semi-colon at the beginning of the line.
Most are disabled by default.
If there are still warnings after unused extensions are disabled, then you must read the documentation for each enabled extension, and install and configure any necessary third-party software.

If your DLLs are out-of-date, make sure to download and install the latest Windows binary zip packages from the PHP downloads page.

If that fails, try searching for bugs in bugs.php.net for the error message you encounter.
Ah Ha!
http://bugs.php.net/bug.php?id=21280
....
Did you copy the dlls from the dll/ subdir to the windows system dir?
....
User reported that this fixed it.

SOLVED!
Feb 27 '07 #4

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

Similar topics

0
1397
by: dave | last post by:
Hello, Does anyone have experience with mhash? I've got a situation where i have to "create an mhash module and load it in to php" which is apparently not what i thought it was, recompiling php with mhash support. If anyone has done this please get back to me. Thanks. Dave.
0
1383
by: dave | last post by:
Hello, I'm really hoping someone can help here, i am very frustrated on this issue. If this were my linux box i'd commit myself for insanity, this setup is so frustrating! Ok, done rambling, Linux box, rh version unknown, apache 1.3.27 with frontpage extensions, php 4.3.0, and i'm trying to install mhash. I was informed this is occurring in a vdp environment whatever that is, and so i compiled and installed mhash thinking apache and php...
7
2412
by: Nuno Paquete | last post by:
Hi group. Does Apache fro windows allows to run PHP scripts? If no, where can I find one? Regards, Nuno Paquete
20
3032
by: David | last post by:
I have seen postings that indicate some developers are creating PHP apps for a Windows server environment. I am not sure if they run underr IIS or Apache, but I wonder why Windows and PHP vs. the PHP/Apache/Linux triumvirate. I would think that if you developed under windows, why not stick to ASP.net and IIS. If you want to use Apache, why not stick with Linux. Mostly curious.
15
3876
by: mariosp | last post by:
I would like to request more information for the installation and configuration of Apache in windows 2003 and I would like to know which is better IIS or apache in Windows 2003 Server Regards, Marios
0
2038
by: E. Recio | last post by:
Long story short. I want to use Mac OS/X and PHP. I have a db with passwords stored under Linux using the crypt("foo", "$1$".$salt."$); scheme. This means that crypt should execute a CRYPT_MD5 password hash. I know that Mac OS/X only supports the two DES'. So is there a way I can use mcrypt, or mhash or ANY library to reproduce php's CRYPT_MD5 crypt() call? I don't really have a choice to use another password hash scheme, as the data is...
5
5092
by: Chris Gage | last post by:
I'm a longtime *nix guy and am fairly comfortable "over there" although I am a developer and not a sysadmin, mostly J2EE stuff. I recently got the Microsoft "Action Pack" as a partner. It has legit licenses for a bunch of Microsft software for development/evaluation purposes. I decided to install Windows Server 2003 - the first time I have ever installed a Windows Server. I decided to install Apache rather than try to learn IIS, and...
1
4641
dhandava
by: dhandava | last post by:
Hi, I have development, staging and production environment where I have Apache 2.2.4 Http Web server installed. On development environment I have Windows OS and for staging and production I have Linux OS installed. Now each time while deploying the files to staging and production from dev server I am facing problem. Apache on Linux is case sensitive therefore many of my links are broken after deployment to staging. Now to trap this...
20
7812
by: macca | last post by:
Hi, I just started a new web developer job (my first actually) and the machine they gave me to use is a Mac. Two days in and I'm running a Win XP environment on my Mac at work (using VMWare), firstly so I can use my favourite text editor (ConTEXT) which is only available for windows and secondly because I've never used a Mac before. But what do you think is the best all round development platform that I should use as a Web Developer?...
0
10536
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10333
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
12130
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
11999
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10301
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6646
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
5403
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4936
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.