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:
Post a Comment