参见英文答案 >
Laravel requires the Mcrypt PHP extension 20个
我正在尝试在Linux Ubuntu上安装Laravel.我正在运行Ubuntu 14.10.
一切顺利.但是现在不是在访问localhost时获取所谓的页面,而是获取消息:
“
需要Mcrypt PHP扩展
“
我正在从终端复制一些信息以帮助查明问题.
which php
/usr/bin/php
php --ini
Configuration File (php.ini) Path: /etc/php5/cli
Loaded Configuration File: /etc/php5/cli/php.ini
Scan for additional .ini files in: /etc/php5/cli/conf.d
Additional .ini files parsed: /etc/php5/cli/conf.d/05-opcache.ini,
/etc/php5/cli/conf.d/10-pdo.ini,
/etc/php5/cli/conf.d/20-json.ini,
/etc/php5/cli/conf.d/20-mcrypt.ini,
/etc/php5/cli/conf.d/20-mysql.ini,
/etc/php5/cli/conf.d/20-mysqli.ini,
/etc/php5/cli/conf.d/20-pdo_mysql.ini,
/etc/php5/cli/conf.d/20-readline.ini
php -v
PHP 5.5.9-1ubuntu4 (cli) (built: Apr 9 2014 17:11:57)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
php -m
mcrypt
命令php -m说我有mcrypt模块,但如果我加载一个包含的页面
我看不到任何mcrypt模块.我只在“模块作者”上看到mcrypt.
我不知道如何让Laravel工作……
任何帮助将不胜感激.
最好的祝福