Recent versions of XAMPP for Windows run PHP 7.x, which is NOT compatible with mbcrypt. If you have a package like Laravel that requires mbcrypt, you need to install an older version of XAMPP. OR, you can run XAMPP with several versions of PHP by downloading the PHP package from Windows.PHP.net, installing it in the XAMPP folder and configuring php.ini and httpd.conf to use the correct PHP version for your site.
source
share