Support the ongoing development of Laravel.io →
posted 9 years ago
Installation
Last updated 2 years ago.
0

I know it mag be silly to ask but did you restart apache (or whatever http server your using)

0

I did. I tried to restart apache and tried to restart my computer. Both doesn't work. I even uninstall the xampp to see if it is crashing with the ubuntu native php. The same error still occur after I uninstall xampp.

0

I have just found the solution. Some how on ubuntu 14.04, even if it is shown on the list of phpinfo, it may not be properly set. I followed the guide here and solves the problem.

http://askubuntu.com/questions/460837/mcrypt-extension-is-missing-in-14-04-server-for-mysql

Just to copy from the link just in case if the page is no longer there.

Try this:

sudo updatedb locate mcrypt.ini Should show it located at /etc/php5/mods-available

locate mcrypt.so Edit mcrypt.ini and change extension to match the path to mcrypt.so, example:

extension=/usr/lib/php5/20121212/mcrypt.so Now this:

php5enmod mcrypt - (optional since its already enabled during phpmyadmin setup) Verify that new files exists here (they should be auto created from the issue above)

ls -al /etc/php5/cli/conf.d/20-mcrypt.ini ls -al /etc/php5/apache2/conf.d/20-mcrypt.ini Otherwise do the following

Create symbol links now

ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/cli/conf.d/20-mcrypt.ini ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/apache2/conf.d/20-mcrypt.ini Restart Apacahe

service apache2 restart

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

cytsunny cytsunny Joined 2 Apr 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.