Drezard Posted September 29, 2007 Share Posted September 29, 2007 Okay, I've downloaded and installed XAMPP (The apache friends project) on my computer. Now, I want to use Mcrpyt. It has files like libmcrypt.dll and such in the php folder. But when I try to use functions such as mcrypt_module_open() or mcrypt_generic() it gives me errors such as: "Fatal error: Call to undefined function mcrypt_module_open()". Whats wrong? Daniel Quote Link to comment https://forums.phpfreaks.com/topic/71125-mcrypt-problems/ Share on other sites More sharing options...
rarebit Posted September 29, 2007 Share Posted September 29, 2007 Was php compiled to use it (--with-mcrypt[=DIR])? See http://uk3.php.net/manual/en/ref.mcrypt.php, also for other copies of dll see http://files.edin.dk/php/win32/mcrypt/ Quote Link to comment https://forums.phpfreaks.com/topic/71125-mcrypt-problems/#findComment-357829 Share on other sites More sharing options...
The Little Guy Posted September 29, 2007 Share Posted September 29, 2007 Did you enable them in you php.ini file??? if not, go to your XAMP folder (C:\Program Files\XAMPP\PHP\php.ini) and open the file php.ini, 1. Find the section with all the dll's to include, find the libmcrypt.dll file, and remove the semi colon at the beginning of the line. 2. Save the file. 3. Restart the Apache service. Let me know if that does it for you. Quote Link to comment https://forums.phpfreaks.com/topic/71125-mcrypt-problems/#findComment-357982 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.