Also on Ubuntu, make sure you actually have php5-mcrypt installed. You can install it with:
sudo apt-get install php5-mcrypt
If you get any errors, you may need to enable the 'universe' repository, explained here:
https://help.ubuntu.com/community/Repositories/Ubuntu
Installing/Configuring
kmasaryk
14-Jul-2009 10:30
14-Jul-2009 10:30
Ilia
03-Jun-2009 12:00
03-Jun-2009 12:00
For Ubuntu Linux add a line:
extension=php_mcrypt.so
to the file /etc/php5/apache2/php.ini
and restart network:
sudo /etc/init.d/networking restart
AJP
04-May-2009 01:09
04-May-2009 01:09
(Relating to XAMPP Lite and MySQL)
PROBLEM (seen on MySQL admin page): cannot load mcrypt extension. please check your php configuration
SOLUTION: With XAMPP Lite 1.7.1 all I had to do was stop the server, edit D:\xampplite\php\php.ini and uncomment (remove the semicolon) the following line:
extension=php_mcrypt.dll
Elsewhere in the file is a line setting the path to the extension directory (i.e. where php_mycrypt.dll is located) -- search for extension_dir. It should look something like:
extension_dir = "\xampplite\php\ext\"
Obviously, adjust accordingly for your own drive and directory structure.
miroox-moo at yahoo dot co dot id
18-Mar-2009 07:42
18-Mar-2009 07:42
thanks to :
rskret at gmail dot com
01-Mar-2009 12:04
PROBLEM: cannot load mcrypt extension. please check your php configuration
this setting my experience for xampp :D
I do the same step but with a little modified
for the first, stop all xampp services, and then do this step :
copy file libmcrypt.dll from D:\xampplite\php\
to : C:\WINDOWS\system32
open these 2files below :
D:\xampplite\apache\bin\php.ini
D:\xampplite\php\php.ini
change this text :
;extension=php_mcrypt.dll
to
extension=php_mcrypt.dll
(ie. remove ; )
Note :
Please adjust the directory location per your own installation.
rskret at gmail dot com
28-Feb-2009 10:04
28-Feb-2009 10:04
PROBLEM: cannot load mcrypt extension. please check your php configuration
I have done as suggested by the contributor before me and copied libmcrypt.dll from F:\wamp\bin\php\PHP52~1.8
to C:\WINDOWS\system32 . This did not work on it's own. I found other advice as follows and now mcrypt is working.
OTHER ADVICE:
Go to F:\wamp\bin\php\PHP52~1.8\php.ini
change ;extension=php_mcrypt.dll
to extension=php_mcrypt.dll
(ie. remove ; )
now go to the following 2 files and do the same:
F:\wamp\bin\php\PHP52~1.8\phpForApache.ini
F:\wamp\bin\apache\APACHE~1.11\bin\php.ini
Please adjust the directory location per your own installation.
soporte at infortelecom dot net
30-Sep-2008 09:31
30-Sep-2008 09:31
On Windows 64 bits installations you must copy libmcrypt.dll to the following location:
C:\WINDOWS\SysWOW64
--
InforTELECOM Hosting
http://www.infortelecom.es
ch0wnag3 AT gmail DOT com
21-Jul-2008 07:16
21-Jul-2008 07:16
On Windows installations, for the dynamic extension (extension=php_mcrypt.dll) to load properly, you must copy libmcrypt.dll from your PHP root folder (e.g. C:\PHP) to the following location:
C:\WINDOWS\system32
With this done, the dynamic extension will load up just fine.
