I have new in laravel I have set up laravel 5.5 in my system and its installed but when i start to use php artisan migrate its give error
Mcrypt PHP extension required
But when I run the phpinfo on browser there is mcrypt enable but its show the
PHP Version 7.1.12
But in terminal when I run the
php -v
its result
PHP 7.2.2-3+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Feb 6 2018 16:11:23) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.2-3+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
I think Mycrypt not installed in the cli php
How can I fix it and make a laravel project
Thanks in advance