Board logo

标题: [教程] v3升级到v3.2后,多PHP版本共存的安装方法 [打印本页]

作者: admin    时间: 2017-5-9 16:50     标题: 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
作者: 虫子    时间: 2017-5-10 14:42

哈哈哈哈哈哈哈哈,终于等到你!
作者: 虫子    时间: 2017-5-10 14:46

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 -----------
作者: 虫子    时间: 2017-5-10 14:47

怎么回事?老大,求帮助,求指导!
作者: kangs    时间: 2017-5-10 16:22

回复 3# 虫子


    同样的错误……
作者: ropon    时间: 2017-5-10 16:27

不错 支持多版本 ssl
作者: 52ymr    时间: 2017-5-10 16:59

回复 3# 虫子

兄弟,我也是一样的错误,现在解决了吗?我用的是Vutrl的主机CentOS 6.8 _64
作者: admin    时间: 2017-5-10 17:09

yum install -y icu libicu libicu-devel
作者: 百川君    时间: 2017-5-10 17:49

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

老大安装失败是怎么回事
作者: 虫子    时间: 2017-5-10 17:51

回复 7# 52ymr


   还是老大给力,一条命令拯救了一条绳命啊
作者: 虫子    时间: 2017-5-10 17:52

回复 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 -----------
作者: 虫子    时间: 2017-5-10 18:08

老大,还没解决。。。。
作者: 虫子    时间: 2017-5-10 18:21

:'(:'(:'(:'(
作者: admin    时间: 2017-5-10 18:56

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
作者: 虫子    时间: 2017-5-10 18:59

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 -----------
作者: 虫子    时间: 2017-5-10 19:04

mv: cannot move `/usr/lib/preloadable_libiconv.so.new' to `/usr/lib/preloadable_libiconv.so': Permission denied

我讲这个文档改名字之后又开始安装了。
但愿这回没事儿。

而且,你给的那个命令里面,有个包无法安装:
No package sysklogd available.
作者: 虫子    时间: 2017-5-10 19:28

回复 1# admin


   老大,我倒是安装完毕了,但是,,,,,一个php版本都没了,怎么办。。。。。
作者: 虫子    时间: 2017-5-11 09:59

老大,这个升级php的脚本再完善下吧。
另外,我把v3的wdlinux删除后,web目录也备份之后,重新下载完整的lanmp安装包,有几个问题:
1. 没有自动开启screen,整个安装过程都提心吊胆。
2. 安装是提示有个文件无法替换,用root权限安装的,在上面的问题中有提到,这个需要手动更改一下才能继续。
3. 安装完成之后,进入wdcp,发现php一个版本都没有,就这么消。。。。失。。。了。。。

希望wdcp越来越好!挺你
作者: sencea    时间: 2017-5-11 10:12

在后台从3.0.9升级到3.2后,更新全部站点配置信息,伪静态无法生效 。网站是N+A模式
作者: shunyixn    时间: 2017-5-12 15:19

安装中,希望一切顺利
作者: bingliangzhao    时间: 2017-5-12 22:12

多版本是共存了,但是没法自动启动,这是咋回事?
作者: wskhen    时间: 2017-5-14 23:15

5.2         /www/wdlinux/phps/52         /www/wdlinux/phps/52/etc/php.ini  编辑 优化参数设置         未安装                 否 开
5.3         /www/wdlinux/phps/53         /www/wdlinux/phps/53/etc/php.ini  编辑 优化参数设置         未安装                 否 开
5.4         /www/wdlinux/phps/54         /www/wdlinux/phps/54/etc/php.ini  编辑 优化参数设置         未安装                 否 开
5.5         /www/wdlinux/phps/55         /www/wdlinux/phps/55/etc/php.ini  编辑 优化参数设置         未安装                 否 开
5.6         /www/wdlinux/phps/56         /www/wdlinux/phps/56/etc/php.ini  编辑 优化参数设置         未安装                 否 开
7.0         /www/wdlinux/phps/70         /www/wdlinux/phps/70/etc/php.ini  编辑 优化参数设置         未安装                 否 开
7.1         /www/wdlinux/phps/71         /www/wdlinux/phps/71/etc/php.ini  编辑 优化参数设置         未安装                 否 开

怎么升级呀,目前WDCP已用了一年了,不敢轻易去安装PHP版本,怕....
作者: qyq076    时间: 2017-5-16 08:55

wdcp 这次真是历史新更新意义,我靠win可以完美下岗了,勒索病毒在不用担心了,这次更新太给力了,wdcp用户量一定暴增1个亿
作者: 已注册    时间: 2017-5-16 11:05

Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://apt.sw.be/redhat/el6/en/mirrors-rpmforge error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'"
* base: mirrors.aliyun.com
* epel: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again
作者: fubaoshan    时间: 2017-5-16 17:02

回复 1# admin

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: *** 没有指明目标并且找不到 makefile。 停止。





x86_64

CentOS release 6.7 (Final)

----Install Error: 5.4.45 -----------

这是什么情况呢? 麻烦了老大


作者: maidou    时间: 2017-5-17 13:59

管理员,我添加二级域名的时候,wdcp 后台控制页面,很多死掉,还是就是二级域名没有分页展示
作者: muyufusheng    时间: 2017-5-17 17:26

5.2.17无法安装。其它的版本可以安装。。。

求解决。。
QQ截图20170517171600.jpg
2017-5-17 17:26


图片附件: QQ截图20170517171600.jpg (2017-5-17 17:26, 13.31 KB) / 下载次数 14
http://www.wdlinux.cn/bbs/attachment.php?aid=7372&k=26ab58a228bddd90989ffa8045b1f9c5&t=1498314469&sid=2roHAF


作者: bzlmc1    时间: 2017-5-17 21:52

本帖最后由 bzlmc1 于 2017-5-17 21:53 编辑

236.jpg
2017-5-17 21:53
[attach]7376[/attach][attach]7376[/attach]
2589.jpg
2017-5-17 21:49
我的环境是的N+A组合,原来是PHP5.6,我现在安装好了5.4,服务也重启了?为什么进我的网站的系统信息还是PHP5.6呢?

图片附件: 2589.jpg (2017-5-17 21:49, 63.95 KB) / 下载次数 15
http://www.wdlinux.cn/bbs/attachment.php?aid=7374&k=c107ba01a18574b4b30ee86578607c56&t=1498314469&sid=2roHAF



图片附件: 2365.jpg (2017-5-17 21:51, 10.36 KB) / 下载次数 12
http://www.wdlinux.cn/bbs/attachment.php?aid=7375&k=e0605d5d8d70fc9d8be393c3e877e196&t=1498314469&sid=2roHAF



图片附件: 236.jpg (2017-5-17 21:53, 13.38 KB) / 下载次数 18
http://www.wdlinux.cn/bbs/attachment.php?aid=7377&k=ca9f0e63e899832672f9cb43ce882adb&t=1498314469&sid=2roHAF


作者: sanwuju    时间: 2017-5-19 16:27

回复 1# admin


   非常好支持一下WDCP
作者: aa13    时间: 2017-5-19 19:42

多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

如无特别求,可不必全部安装或启动,因为启动多一个,就会占资源多一份
作者: aa13    时间: 2017-5-19 19:42

昨天 白干了一天
作者: hxz55    时间: 2017-5-20 13:50

回复 27# muyufusheng


   已解决

执行命令:

wget http://down.wdlinux.cn/in/iconv_ins.sh

sh iconv_ins.sh


然后再执行


wget http://down.wdlinux.cn/in/phps.sh

sh phps.sh 5.2.17


作者: officeyz    时间: 2017-5-21 22:25

老大安装了PHP多版本后,网站打不开了;只有恢复镜像了,全国装和单独装都一样,是不是要安装什么组件证书之类的
作者: zhimaitech    时间: 2017-5-22 11:11

回复 1# admin


   升级到V3.2版本之后,站点和数据库的搜索有问题,站点搜索不到升级之后添加的站点数据,数据库都搜不到
  1. 当前版本: wdCP v3.2.4 最新 v3.2.4
复制代码

作者: m238200    时间: 2017-5-23 23:30

都 安装了,想删除多余的怎么办?
作者: linwenzhi7    时间: 2017-5-24 17:42

我正在单独安装sh phps.sh 5.3.29,希望不会出现什么问题。愿天保佑,
作者: linwenzhi7    时间: 2017-5-24 17:52

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 which regex library to use... php
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 X509_free in -lcrypto... yes
checking for pkg-config... /usr/bin/pkg-config
checking for PCRE library to use... bundled
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 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 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 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 libjpeg... yes
checking for the location of libpng... yes
checking for the location of libXpm... no
checking for FreeType 2... /usr
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
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 FT_New_Face in -lfreetype... 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... 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 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.9 (Final)
----Install Error: 5.3.29 -----------
作者: linwenzhi7    时间: 2017-5-24 19:29

这段又是什么鬼。
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.
作者: linwenzhi7    时间: 2017-5-24 20:15

已解决!!!!
作者: linwenzhi7    时间: 2017-5-24 20:17

wdcp 3.2 多php共存安装错误解决方案


安装php提示以上信息,官方解决方案:


    yum install -y icu libicu libicu-devel


再出错:


    Loaded plugins: fastestmirror
    Setting up Install Process
    Loading mirror speeds from cached hostfile
    Could not retrieve mirrorlist http://apt.sw.be/redhat/el6/en/mirrors-rpmforge error was
    14: PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'"
    * base: mirrors.aliyun.com
    * epel: mirrors.aliyun.com
    * extras: mirrors.aliyun.com
    * updates: mirrors.aliyun.com
    http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'"
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again


就是源不可用,修改dns无效,只能更换源了。
解决方案:

修改/etc/yum.repos.d/rpmforge.repo


如图,修改


    mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge




    mirrorlist = http://mirrorlist.repoforge.org/el6/mirrors-rpmforge


再继续安装php版本即可。
作者: xiongshouyue    时间: 2017-5-25 12:59

新装的v3.2,怎么解决?

env: gcc: Permission denied
make: *** [ext/date/lib/astro.lo] Error 1
make: *** Waiting for unfinished jobs....
env: gcc: Permission denied
make: *** [ext/date/php_date.lo] Error 1


x86_64
CentOS release 6.8 (Final)
----Install Error: 5.2.17 -----------
作者: mmdeye    时间: 2017-5-30 08:33

回复 8# admin


   这样还是报错,wdcp3.2.3还是安装不了PHP,请问一下怎么解决!
作者: sy88618816    时间: 2017-5-30 09:34

试一下 看看 情况
作者: wangxx1030    时间: 2017-6-2 04:49

想把默认版本改成5.3.29 改不了
作者: xiongshouyue    时间: 2017-6-3 13:32

回复 44# wangxx1030


    你的php5.2安装好了吗?
作者: sihghalf    时间: 2017-6-5 13:47

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


这个咋处理捏!
作者: 66分享网    时间: 2017-6-6 17:23

wordpress从WDCP3.0升级到3.2后开启N+A组合后网站就打不开了,安装了PHP7与7.1,是什么原因?只能使用apche+PHP7才可以
作者: xiongshouyue    时间: 2017-6-7 09:30

求大侠来解决问题哟。
作者: yoer    时间: 2017-6-10 03:33

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

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


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

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 -----------
多版本安装出错
作者: semseo    时间: 2017-6-13 01:36

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

安装方法如下:
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 -----------
作者: 龙在天涯    时间: 2017-6-13 14:23

可以自由切换php的版本了,太好了
作者: semseo    时间: 2017-6-14 17:29

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

回复 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 -----------
作者: wave460    时间: 2017-6-16 22:42

安装php7,也设置了自动启动  每次重启服务器都不启动 设置默认,默认的还是php5  郁闷的要死啊
作者: 行者无疆    时间: 6 天前 23:34

安装的是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 -----------
作者: admin8080    时间: 昨天 15:55

回复 3# 虫子


    觉得了吗
作者: 龙在天涯    时间: 昨天 17:59

安装了多个版本的php之后,通过程序怎么还是显示默认的,不是设置之后的
作者: 001yu    时间: 22 小时前

本帖最后由 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 -----------


提示错误!!!
作者: hai61006    时间: 11 小时前

Thank you for using PHP.

config.status: creating php7.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/www.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
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/zend_accelerator_blacklist.c -o ext/opcache/zend_accelerator_blacklist.lo
env: cc: Permission denied
make: *** [ext/opcache/zend_accelerator_blacklist.lo] Error 1
make: *** Waiting for unfinished jobs....
env: cc: Permission denied
make: *** [ext/opcache/ZendAccelerator.lo] Error 1


x86_64
CentOS Linux release 7.2.1511 (Core)
----Install Error: 7.1.4 -----------





老大我按照你的命令执行了还是这样不行的




欢迎光临 WDlinux官方论坛 (http://www.wdlinux.cn/bbs/) Powered by Discuz! 7.2