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

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

[教程] v3升级到v3.2后,多PHP版本共存的安装方法

自v3.2开始,wdcp支持多PHP版本共存共用和切换,可根据需求灵活选择和使用
从v3.0/3.1升级的用户,还需要再安装下多版本的PHP环境,才可完全正常使用和切换

安装方法如下:
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

多版本PHP的手动启动|停止|重起
如:5.5
/www/wdlinux/phps/55/bin/php-fpm start
/www/wdlinux/phps/55/bin/php-fpm stop
/www/wdlinux/phps/55/bin/php-fpm restart
如是其它版本,把55替换为相应版本即可

如无特别求,可不必全部安装或启动,因为启动多一个,就会占资源多一份

已知问题
CentOS 7.X系列系统,不再支持php-5.2/5.3的老版本PHP,可考虑使用CentOS 6.X
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

6666666666666666

TOP

本帖最后由 xzone10 于 2018-4-15 00:09 编辑

@admin
补充,ssh手动执行启动php某个版本提示如下
/www/wdlinux/phps/54/bin/php-fpm start

Gracefully shutting down php-fpm warning, no pid file found - php-fpm is not running ?
Starting php-fpm [14-Apr-2018 23:57:10] ERROR: No pool defined. at least one pool section must be specified in config file
[14-Apr-2018 23:57:10] ERROR: failed to post process the configuration
[14-Apr-2018 23:57:10] ERROR: FPM initialization failed

TOP

本帖最后由 xzone10 于 2018-4-14 11:22 编辑

aliiyun linux 5.7系统
安装了多版本php后,只有5.2可以启动,其他在后台启动不了;
其他php版本在后台点击启动按钮是有启动成功提示的,但是刷新后那个版本还是未启动;
然后只能nginx+apahce或者单apache模式;但是网站访问比较卡;
如果切换单nginx模式就出现502报错;

求大大们解答下要如何解决??

TOP

开启php7出现错误

TOP

怎么赚金币啊
老陈

TOP

yum install -y icu libicu libicu-devel 什么意思
天下无双

TOP

正在安装中,希望能稳定

TOP

[root@chounong ~]# wget http://down.wdlinux.cn/in/phps.sh
--2018-03-14 18:53:35--  http://down.wdlinux.cn/in/phps.sh
Resolving down.wdlinux.cn (down.wdlinux.cn)... 119.146.223.143
Connecting to down.wdlinux.cn (down.wdlinux.cn)|119.146.223.143|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6019 (5.9K) [application/octet-stream]
Saving to: ?𻱰hps.sh.1?

100%[====================>] 6,019       --.-K/s   in 0.01s   

2018-03-14 18:53:35 (472 KB/s) - ?𻱰hps.sh.1?𼀠saved [6019/6019]

[root@chounong ~]# sh phps.sh
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package gcc-4.8.5-16.el7_4.2.x86_64 already installed and latest version
Package gcc-c++-4.8.5-16.el7_4.2.x86_64 already installed and latest version
Package 1:make-3.82-23.el7.x86_64 already installed and latest version
Package sudo-1.8.19p2-11.el7_4.x86_64 already installed and latest version
Package autoconf-2.69-11.el7.noarch already installed and latest version
Package libtool-ltdl-devel-2.4.2-22.el7_3.x86_64 already installed and latest version
Package gd-devel-2.0.35-26.el7.x86_64 already installed and latest version
Package freetype-devel-2.4.11-15.el7.x86_64 already installed and latest version
Package libxml2-devel-2.9.1-6.el7_2.3.x86_64 already installed and latest version
Package libjpeg-turbo-devel-1.2.90-5.el7.x86_64 already installed and latest version
Package 2:libpng-devel-1.5.13-7.el7_2.x86_64 already installed and latest version
Package 1penssl-devel-1.0.2k-8.el7.x86_64 already installed and latest version
Package libcurl-devel-7.29.0-42.el7_4.1.x86_64 already installed and latest version
Package patch-2.7.1-8.el7.x86_64 already installed and latest version
Package libmcrypt-devel-2.5.8-13.el7.x86_64 already installed and latest version
Package mhash-devel-0.9.9.9-10.el7.x86_64 already installed and latest version
Package ncurses-devel-5.9-14.20130511.el7_4.x86_64 already installed and latest version
Package bzip2-1.0.6-13.el7.x86_64 already installed and latest version
Package libcap-devel-2.22-9.el7.x86_64 already installed and latest version
Package ntp-4.2.6p5-25.el7.centos.2.x86_64 already installed and latest version
No package sysklogd available.
Package diffutils-3.3-4.el7.x86_64 already installed and latest version
Package sendmail-8.14.7-5.el7.x86_64 already installed and latest version
Package iptables-1.4.21-18.3.el7_4.x86_64 already installed and latest version
Package unzip-6.0-16.el7.x86_64 already installed and latest version
Package cmake-2.8.12.2-2.el7.x86_64 already installed and latest version
Package wget-1.14-15.el7_4.1.x86_64 already installed and latest version
Package re2c-0.14.3-2.el7.x86_64 already installed and latest version
Package bison-3.0.4-1.el7.x86_64 already installed and latest version
Package icu-50.1.2-15.el7.x86_64 already installed and latest version
Package libicu-50.1.2-15.el7.x86_64 already installed and latest version
Package libicu-devel-50.1.2-15.el7.x86_64 already installed and latest version
Package net-tools-2.0-0.22.20131004git.el7.x86_64 already installed and latest version
Package psmisc-22.20-15.el7.x86_64 already installed and latest version
Package 2:vim-enhanced-7.4.160-2.el7.x86_64 already installed and latest version
Nothing to do
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/
其他版本不能从新安装
[root@chounong wdlinux]# cd  phps
[root@chounong phps]# ls
55
怎么解决多版本安装

TOP

php 启动失败了,各个版本都是一样,这个有了解的吗?
/www/wdlinux/phps/55/bin/php-fpm start
Starting php-fpm /www/wdlinux/phps/55/sbin/php-fpm: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
failed
夏翼天

TOP

多版本PHP的手动启动|停止|重起
如:5.5
/www/wdlinux/phps/55/bin/php-fpm start
运行之后报错。
多版本,只有点5.2版本有效 其它的版本都是已安装未运行。
你好wdcp

TOP

我的是:
系统名称:WDlinux Control Panel (简称wdCP) (WD订阅)
当前版本: wdCP v3.2.6 最新 v3.2.21 下载最新版 更新日志
操作系统:2.6.32-696.18.7.el6.x86_64
CPU参数:1个 1核 64位   还未安装云锁,开启云锁,服务器会更安全,现在就 安装
CPU型号:Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz

TOP

checking if the location of ZLIB install directory is defined... no
checking for zlib version >= 1.2.0.4... 1.2.3
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking for cURL 7.10.5 or greater... libcurl 7.19.7
checking for SSL support in libcurl... yes
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 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 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
checking whether to enable truetype string function in GD... yes
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 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... 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.2 (Final)
----Install Error: 7.1.4 -----------


没办法了,找不到makefile文件?怎么弄

TOP

先单独安装了5.6之后,又全部安装了。然后新安装的里面,5.6的启动不了。
怀疑原来的5.6还在运行,但是不知道怎么删除原来的。
123123

TOP

checking if g++ supports -c -o file.o... yes
checking whether the g++ 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

Generating files
configure: creating ./config.status
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.

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
/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/lib/astro.c -o ext/date/lib/astro.lo
env: cc: Permission denied
make: *** [ext/date/php_date.lo] Error 1
make: *** Waiting for unfinished jobs....
env: cc: Permission denied
make: *** [ext/date/lib/astro.lo] Error 1


x86_64
CentOS Linux release 7.0.1406 (Core)
----Install Error: 5.4.45 -----------
安装出错了,老大这怎么解决
艾尚网

TOP

返回列表