Centos7安装oniguruma和oniguruma-devel,解决php编译安装报错

1585364631
2022-03-03 / 0 评论 / 240 阅读 / 正在检测是否收录...

Centos7安装oniguruma和oniguruma-devel,解决php编译安装报错

PHP编译安装时遇到例如Package 'oniguruma', required by 'virtual:world', not found的报错,是centos7系统没有oniguruma和oniguruma-devel所致。

使用yum将rpm包安装上即可解决(为了防止链接失效,文末提供下载链接)

wget http://rpmfind.net/linux/epel/7/x86_64/Packages/o/oniguruma-6.8.2-1.el7.x86_64.rpm
wget http://rpmfind.net/linux/epel/7/x86_64/Packages/o/oniguruma-devel-6.8.2-1.el7.x86_64.rpm
yum install -y oniguruma-6.8.2-1.el7.x86_64.rpm oniguruma-devel-6.8.2-1.el7.x86_64.rpm

0

评论 (0)

取消