如何在Windows XP的Xampp中安装mcrypt php 7.2.3扩展名? [英] How to install mcrypt php 7.2.3 extension in xampp for windows?

查看:260
本文介绍了如何在Windows XP的Xampp中安装mcrypt php 7.2.3扩展名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的PHP版本7.2.3和xampp pack没有mcrypt扩展名. 为了启用它,php.ini文件中的phpinfo()均未提及.

我已经从此链接下载了mcrypt: https://sourceforge.net/projects/mcrypt/ 但我不知道如何将其集成为php扩展. 我需要Windows中的xampp解决方案

解决方案

您不

请参见 http://php.net/manual/en/intro.mcrypt.php

此功能在PHP 7.1.0 中已已弃用,在PHP 7.2.0 中已已删除. /p>

此功能的替代方案包括:

  • 钠(自PHP 7.2.0起可用)
  • OpenSSL

他们没有包括这个

  • PHPSecLib

但这是第三方库,所以我不能说我要怪他们,我已经使用了一段时间了,但从未听说过任何不好的消息.

My PHP Version 7.2.3 and xampp pack do not have the mcrypt extension. It is not mentioned in the phpinfo() neither in the php.ini file in order to enable it.

I have downloaded mcrypt from this link: https://sourceforge.net/projects/mcrypt/ but I don't know how to integrate it as php extension. I need solution for xampp in windows please

解决方案

You don't

See http://php.net/manual/en/intro.mcrypt.php

This feature was DEPRECATED in PHP 7.1.0, and REMOVED in PHP 7.2.0.

Alternatives to this feature include:

  • Sodium (available as of PHP 7.2.0)
  • OpenSSL

They didn't include this one

  • PHPSecLib

But it's a third party library so I can't say I blame them, I've used it for some time and never heard anything bad about it yet.

这篇关于如何在Windows XP的Xampp中安装mcrypt php 7.2.3扩展名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆