Skip to content

Instantly share code, notes, and snippets.

@ayel07
Last active June 1, 2021 06:23
Show Gist options
  • Save ayel07/e2f1b4c5e9f89df918e6002094187427 to your computer and use it in GitHub Desktop.
Save ayel07/e2f1b4c5e9f89df918e6002094187427 to your computer and use it in GitHub Desktop.

INSTALL PHP MCRYPT under XAMPP FOR WINDOWS

This is used to still support older versions of Laravel's usage of mcrypt.

  1. Download thread safe DLL file from https://pecl.php.net/package/mcrypt website. Make sure to pick which one is compatible with your PHP version.

  2. Extract files and copy the file php_mcrypt.dll xampp/php/ext

  3. Edit xampp/php/php.ini and add the following line after where all the extensions are listed.

    extension=mcrypt
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment