宝塔面板php扩展安装

yum install libmcrypt libmcrypt-devel mcrypt mhash

wget  http://pecl.php.net/get/mcrypt-1.0.1.tgz tar xf mcrypt-1.0.1.tgz cd mcrypt-1.0.1 /www/server/php/72/bin/phpize ./configure --with-php-config=/www/server/php/72/bin/php-config && make && make install

Ubuntu 将 yum 换成 apt—get

转载于:https://www.cnblogs.com/lmaster/p/10393822.html

你可能感兴趣的:(宝塔面板php扩展安装)