centos6.2 linux安装php过程及配置错误处理 configure: error: xml2-config not found. Please check your libxml2 i
来源:互联网 发布:凯恩帝数控编程实例 编辑:程序博客网 时间:2024/05/02 19:56
cd /usr/local/src
tar -zvxf php-5.3.10.tar.gz
cd php-5.3.10
mkdir -p /usr/local/php5 #建立php安装目录
./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/etc --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-gd --with-iconv --with-freetype --with-jpeg --with-png --with-zlib --with-libxml --enable-xml --enable-discard-path --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-force-cgi-redirect --enable-mbstring --enable-ftp --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --with-mime-magic --enable-suhosin --enable-session --with-mcrypt #配置
错误一:
configure: error: xml2-config not found. Please check your libxml2 installation
检查是否安装了libxm包
[root@XKWB3403 php-5.3.8]# rpm -qa |grep libxml2
libxml2-2.6.26-2.1.12
libxml2-python-2.6.26-2.1.12
重新安装libxml2和libxml2-devel包
yum install libxml2
yum install libxml2-devel -y
安装完之后查找xml2-config文件是否存在
[root@XKWB3403 php-5.3.8]# find / -name "xml2-config"
/usr/bin/xml2-config
错误二:configure: error: png.h not found.
- centos6.2 linux安装php过程及配置错误处理 configure: error: xml2-config not found. Please check your libxml2 i
- 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
- linux configure: error: xml2-config not found. Please check your libxml2 installation
- linux 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
- BAIDU空间转至此处
- seek function
- 利用VB实现验证码识别
- VS2008快捷键大全
- DOS中断
- centos6.2 linux安装php过程及配置错误处理 configure: error: xml2-config not found. Please check your libxml2 i
- [每日学习笔记][2012.07.10]使用Java理解程序逻辑(五)
- BIOS中断
- Ubuntu系统启动报错:The system is running in low-graphics mode
- URL的井号
- Formatting Time and Date: The Time and Date Format Suffixes
- ExtJS4.1 分组+行编辑做增删查改例子
- 打开php错误提示 nginx+php
- /bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: 没有那个文件或目录