Unable to load dynamic library 'mcrypt' (tried: C:\xampp\php\ext\mcrypt (The specified module could not be found), C:\xampp\php\ext\php_mcrypt.dll (The specified module could not be found)) in Unknown on line 0 #462
I am using XAMPP and php 8.1. When, I try to install Laravel Imap in my laravel project, It generated below error
Unable to load dynamic library 'mcrypt' (tried: C:\xampp\php\ext\mcrypt (The specified module could not be found), C:\xampp\php\ext\php_mcrypt.dll (The specified module could not be found)) in Unknown on line 0
To Reproduce
Steps to reproduce the behavior:
Creeate a fresh laravel project with XAMPP (php 8.1).
Install 'laravel-imap' package into the project, it will generate the above mentioned error
Expected behavior
It should install laravel-imap package successfully
Desktop / Server (please complete the following information):
OS: Windows 11
PHP: 8.1
Laravel : 9.19 and 10
please note that I have already get the mcrypt dll from https://pecl.php.net/package/mcrypt/1.0.2 and placed it in my ext folder in "xampp/php/ext" and I have place extension=mcrypt in php.ini
I am using XAMPP and php 8.1. When, I try to install Laravel Imap in my laravel project, It generated below error
To Reproduce Steps to reproduce the behavior:
Expected behavior It should install laravel-imap package successfully
Desktop / Server (please complete the following information):
please note that I have already get the mcrypt dll from https://pecl.php.net/package/mcrypt/1.0.2 and placed it in my ext folder in "xampp/php/ext" and I have place
extension=mcrypt
in php.ini