Home » , , , , , , , » Mcrypt PHP extension required but its installed

Mcrypt PHP extension required but its installed

Written By alongxp on 13 Aug 2014 | 19:44

Today, accidantelly i found this web. Learninglaravel.net. and it has a good book for who like to learn laravel, learninglaravel.net/laravelbook and as i said earlier in previous post, i use ubuntu to install laravel and remote it.

according to the book, i need to use artisan. so i run php artisan from the laravel project. but i got this in return "Mcrypt PHP extension required". i wonder why this appear as i remember mcrypt is installed. so i run "dpkg --get-selections | grep php" to find out am i really haven't install mcrypt yet. but obviously i did installed it



in the book its told to add this code at end of line in php.ini 

extension=mcrypt.so

at first place i had trouble to find php.ini, so i search how to look for it. and  found this way.

sudo find / -name 'php.ini'

i found my php.ini and i i edit it as it tells, i restart the apache2 using " sudo service apache2 restart " and i try again but still not work.

i wonder how to solved this " Mcrypt PHP extension required " problem... so i do some searches and i found i usefull answer at stackoverflow and i use the answer

sudo php5enmod mcrypt

and its work!!! huhuhu...

bye... 


0 comments:

Same concept as my main blog, a personal blog that share some tips, personal story, news and interesting thing. But in English