php - 如何在 xampp 中为 windows 中的 php 7.2 版本安装 mcrypt
问题描述
我使用以下命令安装了 mcrypt:
pecl install mcrypt-1.0.1
但安装后我收到这样的警告错误:
WARNING: php_bin C:\xampp\php\php.exe appears to have a suffix .exe, but
config variable php_suffix does not match
ERROR: The DSP mcrypt.dsp does not exist.
我在 windows 中使用 php 版本 7.2.6。当我检查
<?php phpinfo(); ?>
我找不到启用的 mcrypt 。用于安装 mcrypt 的路径是c:\xampp\php
解决方案
推荐阅读
- jpeg - 为什么JPEG图像可以包含多个量化表?
- javascript - 通过 .php 从 .txt 文件动态填充下拉列表
- fpga - ModelSim 进程中的致命错误 RAM_i1/RAM_0_0_0/P107 Lattice MACHXO3L_MISC.vhd
- javascript - 显示错误同时写入输入
- r - 如果数据框 R 中的一行或多行包含 0,则删除整列
- javascript - cypress.json 文件未被识别
- advanced-installer - 属性未更新注册表值 高级安装程序
- javascript - ReactJS 将有状态变量传递给子组件
- jquery - 为什么 Jquery text() 方法在遍历 html 标签数组时返回错误
- makefile - 如何使用这个 makefile 生成我的抽象树?为什么我在 1 行只看到一个错误?