当前位置:论坛首页 > Linux面板 > 求助

【已回应】centos php7.3安装不上.求助

发表在 Linux面板2019-11-7 11:22 [复制链接] 16 7332

本帖最后由 谢花郎 于 2019-11-7 11:24 编辑

checking how to run the C preprocessor... cc -E
checking for openssl support in libcurl... no
checking for gnutls support in libcurl... no
checking for curl_easy_perform in -lcurl... yes
checking for curl_easy_strerror in -lcurl... yes
checking for curl_multi_strerror in -lcurl... yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for TCADB support... no
checking for LMDB support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable DOM support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for ENCHANT support... no
checking whether to enable EXIF (metadata from images) support... no
checking for fileinfo support... no
checking whether to enable input filter support... yes
checking pcre install prefix... no
checking whether to enable FTP support... yes
checking OpenSSL dir for FTP... no
checking for OpenSSL version... >= 1.0.1
checking for CRYPTO_free in -lcrypto... (cached) yes
checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes
checking for GD support... yes
checking for the location of libwebp... no
checking for the location of libjpeg... yes
checking for the location of libpng... yes
checking for the location of libXpm... no
checking for FreeType 2... /usr/local/freetype
checking whether to enable JIS-mapped Japanese font support in GD... no
If configure fails try --with-webp-dir=<DIR>
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
checking for fabsf... yes
checking for floorf... yes
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... yes
checking for ngettext in -lc... yes
checking for dngettext in -lc... yes
checking for dcngettext in -lc... yes
checking for bind_textdomain_codeset in -lc... yes
checking for GNU MP support... no
checking for mhash support... yes
checking whether to enable hash support... yes
checking whether byte ordering is bigendian... (cached) no
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 8
checking size of long long... (cached) 8
checking size of long int... 8
checking checking if we're at 64-bit platform... yes
checking for iconv support... yes
checking for iconv... yes
checking if iconv is glibc's... yes
checking if iconv supports errno... yes
checking if iconv supports //IGNORE... no
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking for Firebird support... no
checking whether to enable internationalization support... yes
checking for icu-config... /bin/icu-config
checking for location of ICU headers and libraries... /usr
checking for ICU 4.0 or greater... found 50.1.2
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/www/server/php/73/src':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
========================================================

系统: CentOS Linux 7.7.1908 (Core)



使用道具 举报 只看该作者 回复
发表于 2019-11-7 11:24:24 | 显示全部楼层
ssh内执行重装一下GCC编译器

yum reinstall glibc-headers gcc-c++ -y
使用道具 举报 回复 支持 反对
发表于 2019-11-7 11:33:38 | 显示全部楼层
感谢

我重装了还是有问题
使用道具 举报 回复 支持 反对
发表于 2019-11-7 11:38:09 | 显示全部楼层
TIM截图20191107113730.png

日志信息
为什么提示我日志有不良信息.....
使用道具 举报 回复 支持 反对
发表于 2019-11-7 11:39:59 | 显示全部楼层
谢花郎 发表于 2019-11-7 11:24
ssh内执行重装一下GCC编译器

yum reinstall glibc-headers gcc-c++ -y

您好,谢谢您的回复,我重装了编译器但还是有问题
使用道具 举报 回复 支持 反对
发表于 2019-11-7 11:40:51 | 显示全部楼层
zdthm2010 发表于 2019-11-7 11:39
您好,谢谢您的回复,我重装了编译器但还是有问题

再贴一下执行日志看看
使用道具 举报 回复 支持 反对
发表于 2019-11-7 11:46:12 | 显示全部楼层
zdthm2010 发表于 2019-11-7 11:39
您好,谢谢您的回复,我重装了编译器但还是有问题

私信一下面板信息和ssh信息,私信完回复一下,帮您看看
使用道具 举报 回复 支持 反对
发表于 2019-11-7 11:46:21 | 显示全部楼层
谢花郎 发表于 2019-11-7 11:40
再贴一下执行日志看看

TIM截图20191107113730.png
它提示我有敏感信息??无法贴出完整日志
使用道具 举报 回复 支持 反对
发表于 2019-11-7 11:47:24 | 显示全部楼层
谢花郎 发表于 2019-11-7 11:46
私信一下面板信息和ssh信息,私信完回复一下,帮您看看

TIM截图20191107113730.png
编译器已重新安装
使用道具 举报 回复 支持 反对
发表于 2019-11-7 11:49:55 | 显示全部楼层
zdthm2010 发表于 2019-11-7 11:47
编译器已重新安装

再重新安装php能行吗?不行的话私信ssh信息和面板信息,私信完回复我一下。我帮您看看
使用道具 举报 回复 支持 反对
发表于 2019-11-7 11:53:23 | 显示全部楼层
谢花郎 发表于 2019-11-7 11:49
再重新安装php能行吗?不行的话私信ssh信息和面板信息,私信完回复我一下。我帮您看看 ...

您好已发送面板信息
使用道具 举报 回复 支持 反对
发表于 2019-11-7 11:54:57 | 显示全部楼层
zdthm2010 发表于 2019-11-7 11:53
您好已发送面板信息

链接不了,核实一下提供的信息是否正确,还有提供一下ssh信息。
使用道具 举报 回复 支持 反对
发表于 2019-11-7 11:58:50 | 显示全部楼层
谢花郎 发表于 2019-11-7 11:54
链接不了,核实一下提供的信息是否正确,还有提供一下ssh信息。

好的前缀是https://
使用道具 举报 回复 支持 反对
发表于 2019-11-7 12:11:15 | 显示全部楼层
zdthm2010 发表于 2019-11-7 11:58
好的前缀是https://

执行这个命令试试

yum -y install gcc-c++
使用道具 举报 回复 支持 反对
发表于 2019-11-7 16:15:31 | 显示全部楼层
谢花郎 发表于 2019-11-7 12:11
执行这个命令试试

yum -y install gcc-c++

谢谢问题已解决
使用道具 举报 回复 支持 反对
12下一页
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表