Page 1 of 1

PHP and mhash librairie

PostPosted: 07. February 2008 09:29
by sliderman
Hay everybody,

I wonder know if there is a way to add mhash librairie to xampp.
I used the mhash encryption in my we appluication php
and I'd rather test the appliocation on my workstation insted of uploading it on my web server after each modification.

Kinds,

PostPosted: 07. February 2008 10:17
by Izzy
Open .\xampp\apache\bin\php.ini file in your text editor and uncomment this line:
;extension=php_mhash.dll
so it looks like this:
extension=php_mhash.dll

Save the file and restart Apache to have your edits recognized.
Always make a back up of any ini and conf files before editing so you can revert if you make any typos.

BTW - Do not uncomment all the extensions in the php.ini file as this may cause some very strange results and errors - only uncomment those extensions that you are going to use.