PhP 常见安装错误configure error xml2-config not found. please check your libxml2 installation
来源:互联网 发布:思维导图 mac 编辑:程序博客网 时间:2024/05/10 04:06
configure error xml2-config not found. please check your libxml2 installation
sendos 5.5 安装 PHP 5.4.3 报 configure error xml2-config not found. please check your libxml2 installation 错误
检查是否安装了libxm包
[root@rh-linux software]# rpm -qa |grep libxml2
libxml2-2.6.26-2.1.12
libxml2-python-2.6.26-2.1.12
重新安装libxml2和libxml2-devel包, yum安装的时候发现新版本会提示更新,需要更新的可以更新,不要跳过就行了。
[root@rh-linux /]# yum install libxml2
[root@rh-linux /]# yum install libxml2-devel -y
安装完之后查找xml2-config文件是否存在
[root@rh-linux /] # find / -name "xml2-config"
/usr/bin/xml2-config
如果存在的话重新安装php
[root@rh-linux php-5.4.3]# ./configure
[root@rh-linux php-5.4.3]# make
[root@rh-linux php-5.4.3]# make install
安装好php后别忘了配置下php.ini 文件,
[root@rh-linux php-5.4.3]# cp php.ini-production /usr/local/lib/php.ini
也可以直接在 make install 后面加一个编译参数 --with-config-file-path=/usr/local/php/etc 指定自己的php.ini路径 然后从源码里面 cp过去php.ini 源码里面有个php.ini-development和php.ini-production 如果不是本地调试模式的 选择后者
原文地址:http://blog.chinaunix.net/uid-26719405-id-3409842.html
0 0
- PhP 常见安装错误configure error xml2-config not found. please check your libxml2 installation
- PhP 常见安装错误configure error xml2-config not found. please check your libxml2 installation
- PhP 常见安装错误configure error xml2-config not found. please check your libxml2 installation
- PHP安装错误 configure: error: xml2-config not found. Please check your libxml2 installation.
- PHP安装错误 configure: error: xml2-config not found. Please check your libxml2 installation.
- php安装configure error xml2-config not found. please check your libxml2 installation
- php configure 报错 error: xml2-config not found. Please check your libxml2 installation
- Centos下PHP报错:configure error xml2-config not found. please check your libxml2 installation
- PHP之——configure: error: xml2-config not found. Please check your libxml2 installation
- 解决php报错configure: error: xml2-config not found. Please check your libxml2 installation
- error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation.
- configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation
- linux configure: error: xml2-config not found. Please check your libxml2 installation
- configure: error: xml2-config not found. Please check your libxml2 installation
- DER 和 PEM 格式
- linux使用mail命令发送像模像样的邮件
- SoapUI模拟服务端进行接口测试
- linux tail命令的使用方法详解
- OpenSceneGraph实现的NeHe OpenGL教程 - 第二十七课
- PhP 常见安装错误configure error xml2-config not found. please check your libxml2 installation
- MAC OS下OpenSSL生成私钥和公钥以及RSA加密
- AT97SC3205 安全芯片介绍
- 关于Android系统Settings中添加Google账户进入Set up payment info界面,返回键消失(失效)的问题
- 扁平化框架
- 关于session与cookie
- SSM框架——详细整合教程(Spring+SpringMVC+MyBatis)
- 【JAVA语言程序设计基础篇】--事件驱动程序设计--了解监听器、注册以及处理事件
- 在MFC中改变控件大小和位置