How to install mcrypt extension in xampp

不问归期 提交于 2019-11-27 06:05:53

问题


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 mcrypt on xampp ?


回答1:


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.




回答2:


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




回答3:


For windows

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


来源:https://stackoverflow.com/questions/37522384/how-to-install-mcrypt-extension-in-xampp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!