xampp mcrypt_encrypt setup code example
Example: encrypt xampp
1-First, you should download the suitable version for your system from here:
https://pecl.php.net/package/mcrypt/1.0.3/windows
2-Later, you should copy php_mcrypt.dll under ../xampp/php/ext/
3-you should enable extension like extension=mcrypt from xampp/php/php.ini
personly I modified the php.ini file and i add this lines :
extension=imap
extension=mcrypt
of course, these two lines have the 3 dll file saved on ../xampp/php/ext/ as :
php_imap.dll
php_mcrypt.dll