前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >PHP 常见安装错误configure error xml2-config not found. please check your libxml2 installation

PHP 常见安装错误configure error xml2-config not found. please check your libxml2 installation

作者头像
星哥玩云
发布2022-06-28 17:06:49
1.1K0
发布2022-06-28 17:06:49
举报
文章被收录于专栏:开源部署

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 ——————————————————------———————————————— configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution yum install libxslt-devel ————————————————————————————————————

configure: error: xml2-config not found. Please check your libxml2 installation. yum install libxml2-devel configure: error: Cannot find OpenSSL’s yum install openssl-devel configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ yum install curl-devel configure: error: libjpeg.(a|so) not found yum install libjpeg-devel configure: error: libpng.(a|so) not found. yum install libpng-devel configure: error: libXpm.(a|so) not found. yum install libXpm-devel configure: error: freetype.h not found. yum install freetype-devel configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information. yum install libc-client-devel configure: error: mcrypt.h not found. Please reinstall libmcrypt. yum install libmcrypt-devel configure: error: Please reinstall libmhash – I cannot find mhash.h yum install mhash-devel configure: error: Cannot find MySQL header files under /usr. Note that the MySQL client library is not bundled anymore! yum install mysql-devel configure: error: Please reinstall ming distribution. libming.(a|so) not found - temp remove the config for ‘–with-ming=/opt/ming/’ configure: error: Cannot find pspell yum install pspell-devel configure: error: cannot find mm library Download from http://www.ossp.org/pkg/lib/mm/ wget ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz Extract it:  tar -zxvf mm-1.4.2.tar.gz ./configure make make install configure: error: Cannot find libtidy yum install libtidy-devel yum install libtidy change path at configure: ‘–with-tidy=/usr’ configure: error: not found. Please reinstall the expat distribution. yum install expat-devel configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution yum install libxslt-devel *Tips: To uninstall, just enter: yum remove {package-name} Finally the compilation of php end with “Thank you for using PHP.”

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
云数据库 MySQL
腾讯云数据库 MySQL(TencentDB for MySQL)为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。其具备6大企业级特性,包括企业级定制内核、企业级高可用、企业级高可靠、企业级安全、企业级扩展以及企业级智能运维。通过使用腾讯云数据库 MySQL,可实现分钟级别的数据库部署、弹性扩展以及全自动化的运维管理,不仅经济实惠,而且稳定可靠,易于运维。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档