How to Install mcrypt PHP module

拥有回忆 提交于 2020-03-25 12:40:07

问题


I am using Linux Mint 19.1. My PHP configuration is like below

I am getting below error while I am trying to install mcrypt.


回答1:


Try out using these commands

To install the dependencies :

sudo apt-get -y install gcc make autoconf libc-dev pkg-config
sudo apt-get -y install php7.2-dev
sudo apt-get -y install libmcrypt-dev

Once the dependencies have been installed, you can install mcrypt with the command:

sudo pecl install mcrypt-1.0.1


来源:https://stackoverflow.com/questions/60372913/how-to-install-mcrypt-php-module

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