How to install mcrypt extension in xampp

How to install mcrypt in xampp on windows?

My PHP version 7.0.5 and the xampp package do not have mcrypt extensions , so how can I install mcrypt on xampp?

+7
source share
4 answers

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.

+3
source

The default installation for XAMPP (version 7.0.8) has the mcrypt extension installed and is enabled by default. To check if mcrypt is installed and enabled, follow these steps:

0

To the right of PHP documents: PHP 5.3. Windows binaries use a static version of the MCrypt library, no DLL required.

http://php.net/manual/en/mcrypt.requirements.php

But if you really want to download it, just go to the mcrypt source page

http://sourceforge.net/projects/mcrypt/files/?source=navbar

0
source

For windows

  1. Create a new folder like new-project.
  2. after this command in your windows command "composer create-project laravel / laravel new-project 4.2. *"
0
source

All Articles