PHP,升级失败,麻烦看看,谢谢
日志:Current PHP Version:5.6.40You can get version number from http://www.php.net/
Please enter a PHP Version you want:
[0;32mPress any key to start...or Press Ctrl+c to cancel[0m
php-7.0.30.tar.bz2
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Stoping LNMP...
Stoping nginx... nginx is not running.
ERROR! MySQL server PID file could not be found!
Gracefully shutting down php-fpm warning, no pid file found - php-fpm is not running ?
Installing Dependent for PHP...
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* elrepo: mirror-hk.koddos.net
* epel-debuginfo: hk.mirrors.thegigabit.com
Package c-ares-devel-1.10.0-3.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* elrepo: mirror-hk.koddos.net
* epel-debuginfo: my.mirrors.thegigabit.com
Package libicu-devel-50.2-3.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* elrepo: mirror-hk.koddos.net
* epel-debuginfo: hk.mirrors.thegigabit.com
Package libxslt-1.1.28-5.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* elrepo: mirror-hk.koddos.net
* epel-debuginfo: my.mirrors.thegigabit.com
Package libxslt-devel-1.1.28-5.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* elrepo: mirror-hk.koddos.net
* epel-debuginfo: my.mirrors.thegigabit.com
Package xz-5.2.2-1.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* elrepo: mirror-hk.koddos.net
* epel-debuginfo: my.mirrors.thegigabit.com
Package expat-devel-2.1.0-10.el7_3.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* elrepo: mirror-hk.koddos.net
* epel-debuginfo: my.mirrors.thegigabit.com
Package libzip-devel-0.10.1-8.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* elrepo: mirror-hk.koddos.net
* epel-debuginfo: my.mirrors.thegigabit.com
Package bzip2-1.0.6-13.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* elrepo: mirror-hk.koddos.net
* epel-debuginfo: my.mirrors.thegigabit.com
Package bzip2-devel-1.0.6-13.el7.x86_64 already installed and latest version
Nothing to do
Installing 7.0.30[0m
Uncompress php-7.0.30.tar.bz2...
cd php-7.0.30...
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/root/lnmp1.6/src/php-7.0.30':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
make: *** No targets specified and no makefile found.Stop.
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target `install'.Stop.
Copy new php configure file...
Modify php.ini......
include/php.sh: line 86: pear: command not found
include/php.sh: line 87: pecl: command not found
include/php.sh: line 92: php: command not found
curl: (23) Failed writing body (0 != 16110)
Install ZendGuardLoader for PHP 7...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat 鈥?root/lnmp1.6/src/php-7.0.30/sapi/fpm/init.d.php-fpm鈥? No such file or directory
chmod: cannot access 鈥?etc/init.d/php-fpm鈥? No such file or directory
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Starting LNMP...
Starting nginx...done
Starting MySQL.. SUCCESS!
/bin/lnmp: line 27: /etc/init.d/php-fpm: No such file or directory
[0;31m======== upgrade php failed ======[0m
[0;31mupgrade php log: /root/upgrade_lnmp_php.log[0m
You upload upgrade_lnmp_php.log to LNMP Forum for help.
系统是CentOS 7.2 64位,使用的lnmp1.6.再次感谢。 参考:https://bbs.vpser.net/thread-18875-1-1.html
不行的话就是你系统问题
多谢,我试试。
页:
[1]