分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > IT知识

Linux下编译PHP常见错误及解决方法

发布时间:2023-09-06 02:22责任编辑:董明明关键词:PHP编译Linux

1、configure: error: xml2-config not found. Please check your libxml2 installation.
yum install libxml2-devel -y ??openssl-devel ?bzip2-devel ?curl-devel

2、configure: error: Cannot find OpenSSL‘s <evp.h>
yum install openssl-devel



3、configure: error: Please reinstall the BZip2 distribution
yum install bzip2-devel

4、

./configure: line 410: test: please: integer expression expected

configure: error: reinstall
./configure: line 299: return: please: numeric argument required
./configure: line 309: exit: please: numeric argument required
yum -y install curl-devel





5、configure: error: jpeglib.h not found.
yum install libjpeg-devel -y

6、configure: error: png.h not found.
yum -y install libpng-devel


7、configure: error: freetype-config not found.
yum -y install freetype-devel


8、configure: error: Unable to locate gmp.h
yum install gmp-devel

9、configure: error: mcrypt.h not found. Please reinstall libmcrypt.
yum install libmcrypt-devel ??#需要epel源


10、configure: error: Please reinstall readline - I cannot find readline.h
yum -y install readline-devel


11、configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
yum -y install libxslt-devel

Linux下编译PHP常见错误及解决方法

原文地址:https://www.cnblogs.com/root0/p/9970753.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved