C
C
Chvalov2014-08-22 10:58:05
PHP
Chvalov, 2014-08-22 10:58:05

mcrypt problem in phpmyadmin on ubuntu server 14.04, how to beat?

After authorization in php myadmin below writes

Расширение mcrypt не найдено. Пожалуйста, проверьте ваши настройки PHP.
PCTce3MmxCM.jpg
If you execute the sudo apt-get install php5-mcryptcommand
[email protected]:/home/ovis# sudo apt-get install php5-mcrypt
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Уже установлена самая новая версия php5-mcrypt.
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 7 п                                                           акетов не обновлено.
[email protected]:/home/ovis#
What could be the problem?

phpinfo() output (only one mention) BZ-__aIkYR4.jpg
In /etc/php5/apache2/php.ini The only mentions of mcrypt are:4KJuFeIVX8k.jpg

Answer the question

In order to leave comments, you need to log in

5 answer(s)
M
Mikhail Osher, 2014-08-22
@Chvalov

Installing the extension.
Create an ini file if it doesn't exist.

➜  ~  cat /etc/php5/mods-available/mcrypt.ini 
; configuration for php MCrypt module
; priority=20
extension=mcrypt.so

Turn on the module.
We reboot the server.

A
Andrey Burov, 2014-08-22
@BuriK666

Install the php5-mcrypt package

K
kompi, 2014-08-22
@kompi

Check if the module is directly enabled in php.

D
Dmitry, 2014-08-22
@akserdin

And it may also be that you have several php (from LAMPP, for example). And the one without mcrypt is used

C
Counter, 2015-05-31
@Counter

When it comes to linking nginx with php5-fpm.
Then, in addition to nginx itself, you also need to restart php5-fpm (service php5-fpm restart). At one time, I spent about 5 hours until I solved the issue)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question