mcrypt的不是present的Ubuntu升级到13.10后 [英] mCrypt not present after Ubuntu upgrade to 13.10
问题描述
在我从Ubuntu的13.04我的系统升级到13.10的几个问题与Apache,MySQL和PHP配置发生。
我解决了大多数人,但我似乎无法得到的mcrypt库工作。
软件包安装,所以我并不需要易于得到它。服务器的工作原理,一切似乎很好,但是当我尝试运行 PHP工匠服务
与Laravel 4,我得到的mcrypt需要的信息。
我做了 PHP --ri mcrypt的
和产量扩展的mcrypt'不是present。
我试图把扩展= mcrypt.so
到 /etc/php5/apache2/php.ini
,但它没'将不起作用。
任何想法?
输出的dpkg --get-选择| grep的PHP5
中的libapache2-MOD-安装PHP5
安装PHP5
PHP5-CLI安装
PHP5常见安装
PHP5-GD安装
PHP5 JSON的安装
PHP5-mcrypt的安装
PHP5-MySQL的安装
PHP5-readline的安装
我想我找到在的launchpad.net 。
所以:
须藤LN -s /etc/php5/conf.d/mcrypt.ini的/ etc / PHP5 / MODS的可用
须藤php5enmod mcrypt的
须藤服务的Apache2重启
这为我工作。希望这将成为其他人也有帮助。
After I have upgraded my system from Ubuntu 13.04 to 13.10 several problems have occurred with apache, mysql and php configurations.
I solved most of them but I can't seem to get mCrypt library working.
Package is installed so i don't need to apt-get it. Server works and everything seems fine, but when I try to run php artisan serve
with Laravel 4, I get a message that mCrypt is required.
I did php --ri mcrypt
and the output was Extension 'mcrypt' not present.
I have tried putting extension=mcrypt.so
to /etc/php5/apache2/php.ini
but it didn't work.
Any ideas?
Output of dpkg --get-selections | grep php5
libapache2-mod-php5 install
php5 install
php5-cli install
php5-common install
php5-gd install
php5-json install
php5-mcrypt install
php5-mysql install
php5-readline install
I think I found the solution at launchpad.net.
So:
sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available
sudo php5enmod mcrypt
sudo service apache2 restart
This worked for me. Hopefully it will be helpful for other people too.
这篇关于mcrypt的不是present的Ubuntu升级到13.10后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!