永久黄网站色视频免费直播,yy6080三理论日本中文,亚洲无码免费在线观看视频,欧美日韩精品一区二区在线播放

Board logo

標題: [求助] 請問為什么安裝不了PHP [打印本頁]

作者: HQS    時間: 2020-3-6 18:25     標題: 請問為什么安裝不了PHP

如題,由于之前數(shù)據(jù)用了簡單的密碼被黑之后。今天重新安裝WDCP,是最新 v3.3.9。
根據(jù):
v3升級到v3.2后,多PHP版本共存的安裝方法
http://www.fsowen.com/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.fsowen.com/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)


統(tǒng)統(tǒng)提示成功,就是只有5.2
作者: admin    時間: 2020-3-9 09:23

rm -f inf/53.txt
執(zhí)行這個再安裝試試
相應版本相應執(zhí)行
作者: HQS    時間: 2020-3-10 16:55

回復 2# admin


   多謝了,用“Putty.exe”測試過,算是無效。為什么說算是?用FTP工具《Filezilla》鏈接服務器,看到 /root/inf/53.txt、54.txt、56.txt、71.txt、72.txt、73.txt 是被刪除了,
執(zhí)行以下:
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 目錄下已經(jīng)有:
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.fsowen.com/bbs/


這次提示成功 是真的成功

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


我的系統(tǒng)CentOS 6.8 64位,安裝WDCP時 默認的PHP是5.5,為了驗證想法,接下來再安裝 5.6.30其他的都可以了。。。
果然是端口問題。。。。




歡迎光臨 WDlinux官方論壇 (http://www.fsowen.com/bbs/) Powered by Discuz! 7.2