相关疑难解决方法(0)

安装php7.2-mcrypt的问题

因为我正在尝试从PHP 7.2.X版本加载mcrypt扩展模块.
所以我尝试使用与我当前版本的PHP兼容的PECL库,以便安装并遵循以下链接: 在安装过程中在PHP 7.2上安装mcrypt!

以下是在终端上执行某些命令后获得的结果.

root@YYY:/var/www/html/orocrm# apt install php-pear
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libllvm4.0
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  php-pear
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 285 kB of archives.
After this operation, 2,107 kB of additional disk space will be …
Run Code Online (Sandbox Code Playgroud)

php ubuntu github pecl mcrypt

31
推荐指数
4
解决办法
10万
查看次数

如何Ubuntu的Ubuntu 18.04安装/激活PHP扩展ext-mcrypt

我正在安装新的kubuntu系统18.04,默认情况下使用的是php7.2

我当前软件项目的作曲家安装给我以下错误消息:

您的系统缺少所需的PHP扩展名ext-mcrypt *。安装或启用PHP的mcrypt扩展。

除了以前没有可用的php-mcrypt之外,其他类似http://aryo.lecture.ub.ac.id/easy-install-php-mcrypt-extension-on-ubuntu-linux/的文章也无济于事模拟php-mcrypt或php7-mcrypt不存在。

如何获得可以满足我的要求的设置?

sudo apt-get install php7.2-ext-mcrypt
Run Code Online (Sandbox Code Playgroud)

找不到安装候选对象。

php 7.1和7.2之间有区别吗?

毫不奇怪,这也不能解决问题:

$ sudo phpenmod mcrypt
WARNING: Module mcrypt ini file doesn't exist under /etc/php/7.2/mods-available
WARNING: Module mcrypt ini file doesn't exist under /etc/php/7.2/mods-available
Run Code Online (Sandbox Code Playgroud)

php php-extension php-7.2 ubuntu-18.04

1
推荐指数
1
解决办法
9100
查看次数

标签 统计

php ×2

github ×1

mcrypt ×1

pecl ×1

php-7.2 ×1

php-extension ×1

ubuntu ×1

ubuntu-18.04 ×1