码迷,mamicode.com
首页 > Web开发 > 详细

centos7编译安装php 遇到的问题

时间:2020-04-22 09:36:31      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:figure   org   ora   编译安装   https   问题   pack   The   安装   

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 遇到的问题

标签:figure   org   ora   编译安装   https   问题   pack   The   安装   

原文地址:https://www.cnblogs.com/mmykdbc/p/12749498.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!