I did copy a laravel project from External server to my local server when I tried to type composer install it showed the folowing error
Problem 1 - laravel/framework v5.0.16 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system. - laravel/framework v5.0.16 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system. - Installation request for laravel/framework v5.0.16 -> satisfiable by laravel/framework[v5.0.16].
I have windows 10 system, and it's an old project so I installed the php 5 with xampp
I tried to add extension=php_mcrypt.so
but it didn't work
I added a dll file in system32 also but didn't work
and php.ini
look like this
[mcrypt]
; For more information about mcrypt settings see http://php.net/mcrypt-module-open
; Directory where to load mcrypt algorithms
; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
;mcrypt.algorithms_dir=
; Directory where to load mcrypt modes
; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
;mcrypt.modes_dir=
composer require phpseclib/mcrypt_compat
via the CLI. – neubert