Installing/Configuring

Table of Contents

Коментарии

Автор:
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
2009-07-14 20:30:07
http://php5.kiev.ua/manual/ru/mcrypt.setup.html
To make sure that mcrypt doesn't fail to load when
using Windows XP , Apache 2 and php 5, even if all the required procedure to install it has been accomplished already, copy libmcrypt.dll, which is normally in the php main directory, into the php\ext directory.
2010-01-06 08:32:41
http://php5.kiev.ua/manual/ru/mcrypt.setup.html
Автор:
On ubuntu 8 (hardy), the mcrypt library seems to be here.

/usr/lib/php5/20060613/mcrypt.so

So I just created mcrypt.ini in /etc/php5/conf.d and added this one liner.

extension=mcrypt.so
2010-05-11 13:54:59
http://php5.kiev.ua/manual/ru/mcrypt.setup.html
Using PHP version "PHP Version 5.3.10-1ubuntu3.4" and Ubuntu 12.0.4 on Apache2...

Make sure you have mcrypt installed and active on your php5 install. Use "sudo apt-get install php5-mcrypt" to install, that should sort the issue.
2012-10-19 14:21:15
http://php5.kiev.ua/manual/ru/mcrypt.setup.html
Автор:
The following link solved my problem

[Tue Dec 24 12:42:33.003683 2013] [:error] [pid 8448] [client 127.0.0.1:33146] PHP Fatal error:  Call to undefined function mcrypt_decrypt() ...

http://stackoverflow.com/questions/4809611/problem-with-mcrypt-installation/20208943#20208943
2013-12-24 23:31:04
http://php5.kiev.ua/manual/ru/mcrypt.setup.html
Same Problem on Linux Mint - Call to undefined function mcrypt_create_iv...

Solved by adding the folowing line to the php.ini
extension=mcrypt.so

After that a 
service apache2 restart
solved it...

Have fun with it...
2014-03-11 15:13:40
http://php5.kiev.ua/manual/ru/mcrypt.setup.html
Resolved my problem on Ubuntu 14.04:

$sudo apt-get install php5-mcrypt
$sudo php5enmod mcrypt
2014-10-06 23:24:29
http://php5.kiev.ua/manual/ru/mcrypt.setup.html
Автор:
debian/ubuntu php5 (>= 5.4.0~rc6-1) has introduced two new commands:
php5enmod and php5dismod

# install the extension
sudo apt-get install php5-mcrypt
# you can see that it's installed by the presence of the .ini file
cat /etc/php5/mods-available/mcrypt.ini
# enable it
sudo php5enmod mcrypt
# reload Apache to make use of the extension
sudo service apache2 reload
2014-11-26 22:05:20
http://php5.kiev.ua/manual/ru/mcrypt.setup.html
Issue Solved when installing php7.2-mcrypt
I was also facing the same issue. Check this link https://stackoverflow.com/q/48275494/7713811 
to get the right solution for installing it in PHP
2018-04-05 13:16:52
http://php5.kiev.ua/manual/ru/mcrypt.setup.html
For PHP-7 UNIX Server use this

sudo apt-get install mcrypt php7.0-mcrypt

sudo service apache2 restart
2018-11-12 13:41:18
http://php5.kiev.ua/manual/ru/mcrypt.setup.html

    Поддержать сайт на родительском проекте КГБ