configure php PHP编译configure时常见错误的总结
configure php PHP编译configure时常见错误的总结
PHP编译时常见错误的总结
PHP的安装虽然有时候很简单,可是如果应用一多,我们安装起来就很头痛了!出错最多的就是安装PHP扩展的时候了。其实不管是你是类的应用还是Nginx类的,PHP的安装都不是很简单,虽然网上有很多参数configure php,但是那不一定是适合你的,因为很多都直接关系着你的系统版本和内核。因此要自己亲自不断的调试,才能完全安装成功。 本文总结了一些常见的错误信息和解决这些错误的经验。
1、: error: No / found
网上有的说法是:Cwith-named–libs=/usr/lib/.so.5 其实是不对的,虽然能解决的错误,但是make的时候会提示错误configure php PHP编译configure时常见错误的总结,正确的做法应该是
centos: yum -y install ncurses-devel debian: apt-get install libncurses5-dev
2、: error: xml2- not found. check your .
centos: yum -y install libxml2 libxml2-devel debian : apt-get install libxml2-dev
3、: error: find ‘s
centos: yum -y install openssl-devel
4、: error: .(a|so) not found
centos: yum -y install gd centos: yum -y install gd-devel debian: apt-get install libjpeg-dev
5、: error: .(a|so) not found.
apt-get install libpng12-dev
6、: error: find from lex; up
yum -y install flex

7、: error: has been but can not be built due to
centos: yum -y install zlib-devel openssl-devel debian: apt-get install zlib1g-dev
8、: error: .(a|so) not found.
centos: yum -y install libxpm-dev debian: apt-get install libxpm-dev
9、: error: .h not found.
centos: yum install freetype-devel debian: apt-get install libfreetype6-dev
10、: error: …No SSL/TLS
centos: yum -y install libssl-dev
debian: apt-get install libssl-dev
11、: error: the BZip2
centos: yum install bzip2 bzip2-devel debian: apt-get install bzip2-devel
12、: error: the C easy.h be in //curl/
centos: yum install curl curl-devel (For Redhat & Fedora) # install libcurl4-gnutls-dev (For Ubuntu)
13、: error: to gmp.h
centos: yum install gmp-devel
14、: error: find MySQL files under /usr. Note that the MySQL is not !
yum install mysql-devel (For Redhat & Fedora) # apt-get install libmysql++-dev (For Ubuntu)
15、: error: the
Solutions :
centos: yum install ncurses ncurses-devel

16、 for … : error: ODBC file ‘/usr//.h’ not found!
Solutions :
centos: yum install unixODBC-devel
17、: error: find
Solutions :
centos: yum install pspell-devel
18、: error: .h not found. .
Solutions :
yum install libmcrypt libmcrypt-devel (For Redhat & Fedora)
# apt-get install libmcrypt-dev
19、: error: snmp.h not found. Check your SNMP .
Solutions :
yum install net-snmp net-snmp-devel
20、开启LDAP服务还需要
yum -y install openldap-devel openldap-servers openldap-clients
21、: error: find from lex; up
centos: yum -y install flex
22、: error: has been but can not be built due to
centos: yum -y install zlib-devel openssl-devel debian: apt-get install zlib1g-dev
以上就是php编译常见错误的总结,如有疑问请留言或者到本站社区交流讨论configure phpconfigure php PHP编译configure时常见错误的总结,感谢阅读configure php,希望能帮助到大家,谢谢大家对本站 的支持!
1. 本站所有资源来源于用户上传和网络,如有侵权请联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系站长处理!
6. 本站不售卖代码,资源标价只是站长收集整理的辛苦费!如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。
7. 站长QQ号码 2205675299
资源库 - 资源分享下载网 » configure php PHP编译configure时常见错误的总结
常见问题FAQ
- 关于资源售价和售后服务的说明?
- 代码有没有售后服务和技术支持?
- 有没有搭建服务?
- 链接地址失效了怎么办?
- 关于解压密码

