惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Tailwind CSS Blog
有赞技术团队
有赞技术团队
爱范儿
爱范儿
Engineering at Meta
Engineering at Meta
J
Java Code Geeks
雷峰网
雷峰网
WordPress大学
WordPress大学
L
LangChain Blog
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
博客园 - 三生石上(FineUI控件)
Microsoft Security Blog
Microsoft Security Blog
P
Proofpoint News Feed
腾讯CDC
GbyAI
GbyAI
罗磊的独立博客
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
F
Fortinet All Blogs
Y
Y Combinator Blog
V
V2EX
A
About on SuperTechFans

Nginx on 轻风云

记一次centos7在断网环境下编译安装nginx1.6+php7.2
宝塔nginx环境下php7.2无mcrypt扩展
2019-08-28 · via Nginx on 轻风云

ssh以root用户登入服务器 执行以下命令

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# 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

将下方代码放入php.ini配置文件中

    extension=mcrypt.so