简体   繁体   English

如何在 xampp linux 上启用 mcrypt php 扩展

[英]How to enable mcrypt php extension on xampp linux

I have installed xampp on my ubuntu machine through the installer having php version 7.2.4我已经通过具有 php 版本 7.2.4 的安装程序在我的 ubuntu 机器上安装了 xampp

Recently I need to enable Mcrypt PHP extension but I did not find it on php.ini file.最近我需要启用 Mcrypt PHP 扩展,但我没有在 php.ini 文件中找到它。

I have tried to modify php.ini following ways but it is not working我尝试按照以下方式修改 php.ini 但它不起作用

extension=mcrypt

在此处输入图像描述

What would be the easiest way to enable the mcrypt php extesion on xampp linux?在 xampp linux 上启用 mcrypt php 扩展的最简单方法是什么?

I have installed a PHP 7.0 version of xampp linux separately and found mcrypt available there but it is not available from PHP 7.1. I have installed a PHP 7.0 version of xampp linux separately and found mcrypt available there but it is not available from PHP 7.1.

Its working well now with PHP 7.0 version without any prior change它现在与 PHP 7.0 版本配合良好,无需任何事先更改

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM