无标题文档
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
(共支持8个版本的PHP,如5.2.17/5.3.29/5.4.45/5.5.38/5.6.30/7.0/7.2/7.3)

可直接执行sh phps.php
会提示相应的版本选择安装或安装全部

也可以针对或指定某个版本,如
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折优惠码

哈哈哈哈哈哈哈哈,终于等到你!
我勒个去

TOP

Configuring extensions
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking for gettimeofday... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... no
checking for RAND_egd... no
checking for pkg-config... /usr/bin/pkg-config
checking for PCRE library to use... bundled
checking whether to enable PCRE JIT functionality... yes
checking whether to enable the SQLite3 extension... yes
checking bundled sqlite3 library... yes
checking for ZLIB support... yes
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... no
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.8 (Final)
----Install Error: 7.1.4 -----------
我勒个去

TOP

怎么回事?老大,求帮助,求指导!
我勒个去

TOP

回复 3# 虫子


    同样的错误……

TOP

不错 支持多版本 ssl
www.idiyrom.com

TOP

回复 3# 虫子

兄弟,我也是一样的错误,现在解决了吗?我用的是Vutrl的主机CentOS 6.8 _64

TOP

yum install -y icu libicu libicu-devel
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for getpwnam_r... yes
checking for getgrnam_r... yes
checking for getpwuid_r... yes
checking for grantpt... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... yes
checking for lchown... yes
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nl_langinfo... yes
checking for perror... yes
checking for poll... yes
checking for ptsname... yes
checking for putenv... yes
checking for realpath... yes
checking for random... yes
checking for rand_r... yes
checking for regcomp... yes
checking for res_search... (cached) yes
checking for scandir... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setenv... yes
checking for setpgid... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strnlen... yes
checking for strptime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unlockpt... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for nanosleep... checking for nanosleep in -lrt... yes
yes
checking for getaddrinfo... yes
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX
checking for in_addr_t... yes
checking for crypt_r... no

General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... /www/wdlinux/phps/52/etc
checking where to scan for configuration files...
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... no
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking how big to make fd sets... using system default

Configuring extensions
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for Kerberos support... no
checking for DSA_get_default_method in -lssl... yes
checking for pkg-config... /usr/bin/pkg-config
checking for PCRE support... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
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 if we should use cURL for url streams... no
checking for cURL in default path... found in /usr
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... gcc -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_version_info 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 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 dbase support... 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 whether to enable EXIF (metadata from images) support... yes
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF 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 libjpeg... yes
checking for the location of libpng... yes
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... yes
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
configure: error: libjpeg.(a|so) not found.
ln: creating symbolic link `/usr/lib/libmysql*': File exists
make: *** No targets specified and no makefile found.  Stop.


x86_64
CentOS release 6.4 (Final)
----Install Error: 5.2.17 -----------

老大安装失败是怎么回事

TOP

回复 7# 52ymr


   还是老大给力,一条命令拯救了一条绳命啊
我勒个去

TOP

回复 8# admin


config.status: creating main/php_config.h
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

/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/Optimizer/dfa_pass.c -o ext/opcache/Optimizer/dfa_pass.lo
/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/Optimizer/zend_ssa.c -o ext/opcache/Optimizer/zend_ssa.lo
/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/Optimizer/zend_inference.c -o ext/opcache/Optimizer/zend_inference.lo
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla&gt; for instructions.
make: *** [ext/opcache/Optimizer/zend_inference.lo] Error 1


x86_64
CentOS release 6.8 (Final)
----Install Error: 7.1.4 -----------
我勒个去

TOP

老大,还没解决。。。。
我勒个去

TOP

:'(:'(:'(:'(
我勒个去

TOP

yum install -y gcc gcc-c++ make sudo autoconf libtool-ltdl-devel gd-devel \
        freetype-devel libxml2-devel libjpeg-devel libpng-devel openssl-devel \
        curl-devel patch libmcrypt-devel libmhash-devel ncurses-devel bzip2 \
        libcap-devel ntp sysklogd diffutils sendmail iptables unzip cmake wget \
        re2c bison icu libicu libicu-devel net-tools psmisc vim-enhanced
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* epel: ftp.riken.jp
* extras: ftp.riken.jp
* updates: ftp.riken.jp
Package gcc-4.4.7-18.el6.x86_64 already installed and latest version
Package gcc-c++-4.4.7-18.el6.x86_64 already installed and latest version
Package 1:make-3.81-23.el6.x86_64 already installed and latest version
Package sudo-1.8.6p3-27.el6.x86_64 already installed and latest version
Package autoconf-2.63-5.1.el6.noarch already installed and latest version
Package libtool-ltdl-devel-2.2.6-15.5.el6.x86_64 already installed and latest version
Package gd-devel-2.0.35-11.el6.x86_64 already installed and latest version
Package freetype-devel-2.3.11-17.el6.x86_64 already installed and latest version
Package libxml2-devel-2.7.6-21.el6_8.1.x86_64 already installed and latest version
Package libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 already installed and latest version
Package 2:libpng-devel-1.2.49-2.el6_7.x86_64 already installed and latest version
Package openssl-devel-1.0.1e-57.el6.x86_64 already installed and latest version
Package libcurl-devel-7.19.7-53.el6_9.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package libmcrypt-devel-2.5.8-9.el6.x86_64 already installed and latest version
Package mhash-devel-0.9.9.9-3.el6.x86_64 already installed and latest version
Package ncurses-devel-5.7-4.20090207.el6.x86_64 already installed and latest version
Package bzip2-1.0.5-7.el6_0.x86_64 already installed and latest version
Package libcap-devel-2.16-5.5.el6.x86_64 already installed and latest version
Package ntp-4.2.6p5-10.el6.centos.2.x86_64 already installed and latest version
No package sysklogd available.
Package diffutils-2.8.1-28.el6.x86_64 already installed and latest version
Package sendmail-8.14.4-9.el6_8.1.x86_64 already installed and latest version
Package iptables-1.4.7-16.el6.x86_64 already installed and latest version
Package unzip-6.0-5.el6.x86_64 already installed and latest version
Package cmake-2.8.12.2-4.el6.x86_64 already installed and latest version
Package wget-1.12-10.el6.x86_64 already installed and latest version
Package re2c-0.13.5-1.el6.x86_64 already installed and latest version
Package bison-2.4.1-5.el6.x86_64 already installed and latest version
Package icu-4.2.1-14.el6.x86_64 already installed and latest version
Package libicu-4.2.1-14.el6.x86_64 already installed and latest version
Package libicu-devel-4.2.1-14.el6.x86_64 already installed and latest version
Package net-tools-1.60-114.el6.x86_64 already installed and latest version
Package psmisc-22.6-24.el6.x86_64 already installed and latest version
Package 2:vim-enhanced-7.4.629-5.el6_8.1.x86_64 already installed and latest version
Nothing to do


我把web目录备份了下,直接删掉了 /www/wdlinux,打算重新安装v32,但是问题出现了:
(最后一屏的出错信息)
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
case "linux-gnu" in \
          aix*) (cd /usr/lib && \
                 objects=`ar t libiconv.a`" "`ar t /lib/libiconv.a` && \
                 ar x libiconv.a && ar x /lib/libiconv.a && \
                 ar q libiconv.new.a $objects && \
                 rm -f $objects && \
                 mv -f libiconv.new.a libiconv.a) ;; \
        esac
make[1]: Leaving directory `/root/v32/src/libiconv-1.14/lib'
cd preload && make install prefix='/usr' exec_prefix='/usr' libdir='/usr/lib'
make[1]: Entering directory `/root/v32/src/libiconv-1.14/preload'
if [ ! -d /usr/lib ] ; then /bin/sh ./build-aux/mkinstalldirs /usr/lib ; fi
if test -n "preloadable_libiconv.so"; then /usr/bin/install -c -m 644 preloadable_libiconv.so /usr/lib/preloadable_libiconv.so.new && mv /usr/lib/preloadable_libiconv.so.new /usr/lib/preloadable_libiconv.so ; fi
mv: cannot move `/usr/lib/preloadable_libiconv.so.new' to `/usr/lib/preloadable_libiconv.so': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/root/v32/src/libiconv-1.14/preload'
make: *** [install] Error 2


x86_64
CentOS release 6.8 (Final)
----Install Error: libiconv install err -----------
我勒个去

TOP

返回列表