How to install mcrypt extension in xampp

后端 未结 3 1830
醉梦人生
醉梦人生 2020-12-10 11:44

how to install mcrypt in xampp on windows?

My PHP Version 7.0.5 and xampp pack have not mcrypt extension so how can i install mcryp

相关标签:
3条回答
  • 2020-12-10 12:30

    First, you should download the suitable version for your system from here: https://pecl.php.net/package/mcrypt/1.0.3/windows

    Later, you should copy php_mcrypt.dll under ../xampp/php/ext/ and you should enable extension like extension=mcrypt from xampp/php/php.ini

    0 讨论(0)
  • 2020-12-10 12:37

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

    0 讨论(0)
  • 2020-12-10 12:40

    Right from the PHP Docs: PHP 5.3 Windows binaries uses the static version of the MCrypt library, no DLL are needed.

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

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

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

    0 讨论(0)
提交回复
热议问题