?> wdcp CentOS release 6.5问什么安装不上php多版本(页 1) - wdCP V3|Linux服务器/云主机/虚拟主机管理系统 - WDlinux官方论坛 Linux服务器架构,性能优化.免费CDN系统,智能DNS,负载均衡,集群分流等应用 - Powered by Discuz! Archiver

WDlinux官方论坛's Archiver

wqwbk 发表于 2018-12-8 11:01

wdcp CentOS release 6.5问什么安装不上php多版本

我根据官网安装方法如下:
wget http://down.wdlinux.cn/in/phps.sh
sh phps.sh
最后显示
php-5.2.17/README.WIN32-BUILD-SYSTEM
2
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
ln: 创建符号链接 "/usr/lib/libmysqlclient.a": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient_r.a": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient_r.so": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient_r.so.18": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient_r.so.18.0.0": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient.so": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient.so.18": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient.so.18.0.0": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqld.a": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlservices.a": 文件已存在
phps.sh: line 82: /usr/bin/make: 权限不够


x86_64
CentOS release 6.5 (Final)
----Install Error: 5.2.17 -----------
这是什么问题啊???

admin 发表于 2018-12-8 11:55

没有编译环境

wqwbk 发表于 2018-12-8 13:07

怎么编译环境的?

wqwbk 发表于 2018-12-8 16:16

[root@localhost ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/www/wdlinux/mysql/bin:/root/bin:/usr/local/php56/bin:/www/wdlinux/mysql/bin:/usr/local/php52/bin:/usr/local/php53/bin:/usr/local/php56/bin
[root@localhost ~]#
这已经配置环境了还是不行啊
php-5.3.29/pear/
php-5.3.29/pear/Makefile.frag
php-5.3.29/pear/install-pear-nozlib.phar
php-5.3.29/pear/install-pear.txt
php-5.3.29/pear/fetch.php
php-5.3.29/LICENSE
php-5.3.29/README.input_filter
2
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
phps.sh: line 82: /usr/bin/make: 权限不够


x86_64
CentOS release 6.5 (Final)
----Install Error: 5.3.29 -----------

wqwbk 发表于 2018-12-8 16:18

有哪位大神帮帮忙{:3_59:}

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.