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

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

[求助] 请问为什么安装不了PHP

如题,由于之前数据用了简单的密码被黑之后。今天重新安装WDCP,是最新 v3.3.9
根据:
v3升级到v3.2后,多PHP版本共存的安装方法
https://www.wdlinux.cn/bbs/viewthread.php?tid=56024&highlight=PHP

的方法,提示:
Nothing to do
5.2.17 is Installed
5.3.29 is Installed
5.4.45 is Installed
5.5.38 is Installed
5.6.30 is Installed
7.0.18 is Installed
7.1.4 is Installed

      configurations, phps install is complete
      visit http://ip:8080
      more infomation please visit http://www.wdlinux.cn/bbs/


看上去是成功的,但是只有 5.2.17 成功了,因为
/www/wdlinux/phps
目录下只有 52/etc/php.ini
没有其他。点击WDCP面板的PHP版本管理也只有5.2

其他全部未安装,尝试多次:

wget http://down.wdlinux.cn/in/phps.sh
sh phps.sh
sh phps.sh 7.1.4(如5.2.17/5.3.29/5.4.45/5.5.38/5.6.30/7.0/7.2/7.3)


统统提示成功,就是只有5.2
听,

rm -f inf/53.txt
执行这个再安装试试
相应版本相应执行
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

回复 2# admin


   多谢了,用“Putty.exe”测试过,算是无效。为什么说算是?用FTP工具《Filezilla》链接服务器,看到 /root/inf/53.txt、54.txt、56.txt、71.txt、72.txt、73.txt 是被删除了,
执行以下:
wget http://down.wdlinux.cn/in/phps.sh
sh phps.sh 5.4.45
sh phps.sh 5.6.30
sh phps.sh 7.0.33
sh phps.sh 7.1.25
sh phps.sh 7.2.15
sh phps.sh 7.3.2


显示检查:
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
最后:Nothing to do

本人只是喳喳前端,不太懂后端的语言,看到 /root/src 目录下已经有:
php-5.2.17.tar.gz、php-5.3.29.tar.gz、php-5.4.45.tar.gz、php-5.5.38.tar.gz、php-5.6.30.tar.gz、php-7.0.18.tar.gz各个包了

不知道是否和访问端口有关,例如本人的WDCP访问IP地址是:***.***.***.***:8010/index。
后面,把8010,改回8080,再重新测试


sh phps.sh 7.1.4


这次不再是检查、加载什么什么模块。而是:
php-7.1.4/Zend/tests/unset_cv05.phpt
php-7.1.4/Zend/tests/bug42818.phpt
....

checking whether to enable zend signal handling... yes


Configuring TSRM
...


Configuring libtool
...


creating libtool
...


Generating files
...
+--------------------------------------------------------------------+
| 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.
config.status: creating php7.spec
...

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
...



Build complete.
Don't forget to run 'make test'.
...

7.1.4 install complete
      configurations, phps install is complete
      visit http://ip:8080
      more infomation please visit http://www.wdlinux.cn/bbs/


这次提示成功 是真的成功

/www/wdlinux/phps/71/ 有文件了,
WDCP面板的PHP版本管理也看到了


我的系统CentOS 6.8 64位,安装WDCP时 默认的PHP是5.5,为了验证想法,接下来再安装 5.6.30其他的都可以了。。。
果然是端口问题。。。。
听,

TOP

返回列表