无标题文档
WDCDN联

盟内部测试火热进行中
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
【300G高防】双线 无视攻击 wdcp官方技术支持/服务 阿里云优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,一键包,wdOS)及搜索,会让你更快解决问题
1 对应版块,提供系统版本位数,wdcp版本,lamp,lnmp,lnamp是哪个环境,rpm或编译安装
2 有哪些错误信息或提示,贴上论坛或截图发论坛
3 做过哪些操作或更改或设置等详细说明

温馨提示:信息不详,很可能会没人理你!论坛有相应教程说明的,也可能没人理!因为,你懂的
Dependencies Resolved

================================================================================
Package       Arch            Version                   Repository        Size
================================================================================
Updating:
sudo          x86_64          1.8.6p7-22.el7_3          updates          735 k

Transaction Summary
================================================================================
Upgrade  1 Package

Total download size: 735 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
sudo-1.8.6p7-22.el7_3.x86_64.rpm                           | 735 kB   00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : sudo-1.8.6p7-22.el7_3.x86_64                                 1/2
  Cleanup    : sudo-1.8.6p7-21.el7_3.x86_64                                 2/2
  Verifying  : sudo-1.8.6p7-22.el7_3.x86_64                                 1/2
  Verifying  : sudo-1.8.6p7-21.el7_3.x86_64                                 2/2

Updated:
  sudo.x86_64 0:1.8.6p7-22.el7_3


这个咋处理捏!

TOP

wordpress从WDCP3.0升级到3.2后开启N+A组合后网站就打不开了,安装了PHP7与7.1,是什么原因?只能使用apche+PHP7才可以

TOP

求大侠来解决问题哟。
大舍大得

TOP

本帖最后由 yoer 于 2017-6-10 03:34 编辑

最后才看到老大发的
已知问题
CentOS 7.X系列系统,不再支持php-5.2/5.3的老版本PHP,可考虑使用CentOS 6.X


老大,安装了怎么卸载这个版本呢?是否也更新一下?(虽然不启动也没影响)
还有,我觉得这个提示应该放前面比较妥。。。(纯属建议)
hgfhgfhf

TOP

config.status: creating php5.spec
config.status: creating main/build-defs.h
config.status: creating scripts/phpize
config.status: creating scripts/man1/phpize.1
config.status: creating scripts/php-config
config.status: creating scripts/man1/php-config.1
config.status: creating sapi/cli/php.1
config.status: creating sapi/fpm/php-fpm.conf
config.status: creating sapi/fpm/init.d.php-fpm
config.status: creating sapi/fpm/php-fpm.service
config.status: creating sapi/fpm/php-fpm.8
config.status: creating sapi/fpm/status.html
config.status: creating sapi/cgi/php-cgi.1
config.status: creating ext/phar/phar.1
config.status: creating ext/phar/phar.phar.1
config.status: creating main/php_config.h
config.status: executing default commands
/bin/sh /root/src/php-5.4.45/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/date/lib -Iext/date/ -I/root/src/php-5.4.45/ext/date/ -DPHP_ATOM_INC -I/root/src/php-5.4.45/include -I/root/src/php-5.4.45/main -I/root/src/php-5.4.45 -I/root/src/php-5.4.45/ext/date/lib -I/root/src/php-5.4.45/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/root/src/php-5.4.45/ext/mbstring/oniguruma -I/root/src/php-5.4.45/ext/mbstring/libmbfl -I/root/src/php-5.4.45/ext/mbstring/libmbfl/mbfl -I/root/src/php-5.4.45/ext/sqlite3/libsqlite -I/root/src/php-5.4.45/TSRM -I/root/src/php-5.4.45/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -c /root/src/php-5.4.45/ext/date/php_date.c -o ext/date/php_date.lo
env: cc: Permission denied
make: *** [ext/date/php_date.lo] Error 1


i686
CentOS release 6.5 (Final)
----Install Error: 5.4.45 -----------
多版本安装出错

TOP

楼主我发现你每次发的命令,我每次使用都是错的。能不能测试好才发啊?

安装方法如下:
wget http://down.wdlinux.cn/in/phps.sh
sh phps.sh
(共支持7个版本的PHP,如5.2.17/5.3.29/5.4.45/5.5.38/5.6.30/7.0.18/7.1.4)

默认安装使用版本,可以针对或选择性安装某个版本,如
sh phps.sh 7.1.4
即可安装7.1.4



可是我安装了以后,一个都没有装上,而且还是只装5.2,并且还装不上!!

Configuring libtool
checking build system type... x86_64-unknown-linux-gnu
checking for ld used by gcc... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking how to recognize dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking the maximum length of command line arguments... (cached) 1966080
checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok
checking for objdir... (cached) .libs
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking if gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) no
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes

creating libtool
appending configuration tag "CXX" to libtool

Generating files
creating ./config.status
creating php5.spec
creating main/build-defs.h
creating scripts/phpize
creating scripts/man1/phpize.1
creating scripts/php-config
creating scripts/man1/php-config.1
creating sapi/cli/php.1
creating sapi/cgi/fpm/fpm_autoconf.h
creating sapi/cgi/fpm/php-fpm.conf
creating sapi/cgi/fpm/php-fpm
creating main/php_config.h
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

Thank you for using PHP.

ln: creating symbolic link `/usr/lib/libmysql*': File exists
/bin/sh /root/src/php-5.2.17/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/root/src/php-5.2.17/ext/date/ -DPHP_ATOM_INC -I/root/src/php-5.2.17/include -I/root/src/php-5.2.17/main -I/root/src/php-5.2.17 -I/root/src/php-5.2.17/ext/date/lib -I/usr/include/libxml2 -I/usr/include/freetype2 -I/root/src/php-5.2.17/ext/mbstring/oniguruma -I/root/src/php-5.2.17/ext/mbstring/libmbfl -I/root/src/php-5.2.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include/mysql -I/root/src/php-5.2.17/TSRM -I/root/src/php-5.2.17/Zend    -I/usr/include -g -O2  -c /root/src/php-5.2.17/ext/date/php_date.c -o ext/date/php_date.lo
env: gcc: Permission denied
make: *** [ext/date/php_date.lo] Error 1


x86_64
CentOS release 6.8 (Final)
----Install Error: 5.2.17 -----------
123456

TOP

可以自由切换php的版本了,太好了
勇闯添加

TOP

真的是莫名其妙,昨天我按照你的命令,怎么都是安装失败,第一个5.2就失败,然后就安装这个wget http://down.wdlinux.cn/in/php_up53.sh  ,安装5.3成功 以后,,再来安装你的命令,居然就可以全部安装上去了??这是怎么回事????难道是之前我安装了旧版本的WDCP没有卸载干净,然后又安装了新的WDCP的原因???
123456

TOP

回复 8# admin


    Thank you for using PHP.

/bin/sh /root/src/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/root/src/php-5.3.29/ext/date/ -DPHP_ATOM_INC -I/root/src/php-5.3.29/include -I/root/src/php-5.3.29/main -I/root/src/php-5.3.29 -I/root/src/php-5.3.29/ext/date/lib -I/root/src/php-5.3.29/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/root/src/php-5.3.29/ext/mbstring/oniguruma -I/root/src/php-5.3.29/ext/mbstring/libmbfl -I/root/src/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/root/src/php-5.3.29/ext/sqlite3/libsqlite -I/root/src/php-5.3.29/TSRM -I/root/src/php-5.3.29/Zend    -I/usr/include -g -O2 -fvisibility=hidden  -c /root/src/php-5.3.29/ext/date/php_date.c -o ext/date/php_date.lo
env: gcc: Permission denied
make: *** [ext/date/php_date.lo] 错误 1


i686
CentOS release 6.8 (Final)
----Install Error: 5.3.29 -----------

TOP

安装php7,也设置了自动启动  每次重启服务器都不启动 设置默认,默认的还是php5  郁闷的要死啊

TOP

安装的是7.1.4版本,最后出现下面的错误,求解哦

----------------------------------------------------------------
config.status: creating sapi/cgi/php-cgi.1
config.status: creating ext/phar/phar.1
config.status: creating ext/phar/phar.phar.1
config.status: creating main/php_config.h
config.status: main/php_config.h is unchanged
config.status: executing default commands
configure: WARNING: unrecognized options: --with-mysql
/bin/sh /root/src/php-7.1.4/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/opcache/ -I/root/src/php-7.1.4/ext/opcache/ -DPHP_ATOM_INC -I/root/src/php-7.1.4/include -I/root/src/php-7.1.4/main -I/root/src/php-7.1.4 -I/root/src/php-7.1.4/ext/date/lib -I/usr/include/libxml2 -I/usr/include/freetype2 -I/root/src/php-7.1.4/ext/mbstring/oniguruma -I/root/src/php-7.1.4/ext/mbstring/libmbfl -I/root/src/php-7.1.4/ext/mbstring/libmbfl/mbfl -I/root/src/php-7.1.4/ext/sqlite3/libsqlite -I/root/src/php-7.1.4/ext/zip/lib -I/root/src/php-7.1.4/TSRM -I/root/src/php-7.1.4/Zend    -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS    -c /root/src/php-7.1.4/ext/opcache/ZendAccelerator.c -o ext/opcache/ZendAccelerator.lo
env: cc: Permission denied
make: *** [ext/opcache/ZendAccelerator.lo] Error 1


x86_64
CentOS release 6.8 (Final)
----Install Error: 7.1.4 -----------

TOP

回复 3# 虫子


    觉得了吗

TOP

安装了多个版本的php之后,通过程序怎么还是显示默认的,不是设置之后的
勇闯添加

TOP

本帖最后由 001yu 于 2017-6-24 00:02 编辑

老大,这个是啥情况啊,是5.3.29安装失败吗?但是在wdcp后台,只有5.2安装成功!!!hecking if iconv supports errno... 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 InterBase support... no
checking whether to enable internationalization support... yes
checking for icu-config... no
checking for location of ICU headers and libraries... not found
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
make: *** No targets specified and no makefile found.  Stop.


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


提示错误!!!
不懂代码

TOP

返回列表