centos7编译安装php 遇到的问题
Posted 明明一颗大白菜
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos7编译安装php 遇到的问题相关的知识,希望对你有一定的参考价值。
centos7 编辑安装php遇到的问题:
./configure 配置遇到的No package ‘libxml-2.0‘ found缺失libxml2.0 库,解决方法:
yum -y install libxml2 yum -y install libxml2-devel
./configure 配置遇到的No package ‘sqlite3‘ found,解决方法:
yum install sqlite-devel
configure: error: Please reinstall the BZip2 distribution 解决方法:
yum install bzip2 bzip2-devel
configure: error: Package requirements (oniguruma) were not met:
No package ‘oniguruma‘ found
yum install https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/o/oniguruma-5.9.5-3.el7.x86_64.rpm yum install https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/o/oniguruma-devel-5.9.5-3.el7.x86_64.rpm
configure: error: Package requirements (libxslt >= 1.1.0) were not met:
No package ‘libxslt‘ found
yum install libxslt-devel
configure: error: Package requirements (libpng) were not met:
No package ‘libpng‘ found
yum install libpng-devel
以上是关于centos7编译安装php 遇到的问题的主要内容,如果未能解决你的问题,请参考以下文章