L
L
lynnikvadim2015-01-18 01:02:54
Laravel
lynnikvadim, 2015-01-18 01:02:54

Mcrypt PHP installation?

Installed PHP and Mcrypt. There are module files in the package.
But laravel writes:
Mcrypt PHP extension required.
Where do you need to click?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Mikhail Osher, 2015-01-18
@miraage

mcrypt problem in phpmyadmin on ubuntu server 14.04, how to beat ?
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.

I
IceJOKER, 2015-01-18
@IceJOKER

is the extension enabled in php.ini ?

V
Vyacheslav Plisko, 2015-01-18
@AmdY

Most importantly, do not forget that different configs are used for the web server and cli mode. Look into phiinfo() and php -i | grep ini

F
Fedor Kirichenko, 2015-01-18
@fxpelive

In ubuntu 13.10 I set the mcrypt extension something like this:

apt-get install php5-mcrypt
sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available/mcrypt.ini
sudo php5enmod mcrypt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question