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.
sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available sudo php5enmod mcrypt sudo service apache2 restart
This worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With