- 积分
- 48
- 威望
-
- 金钱
-
- 注册时间
- 2015-7-23
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
lnmp1.0-full 原来php版本为5.2.17,升级php版本到5.4.41,提示成功,可不能打开网站
使用命令:./upgrade_php.sh 按照提示输入版本号,安装运行,最后提示安装成功,并且状态也正常,可就是不能打开网站,一下为部分日志,请军哥提示一下。
Generating phar.php
Generating phar.phar
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
directorytreeiterator.inc
clicommand.inc
directorygraphiterator.inc
invertedregexiterator.inc
pharcommand.inc
phar.inc
Build complete.
Don't forget to run 'make test'.
Installing PHP CLI binary: /usr/local/php/bin/
Installing PHP CLI man page: /usr/local/php/php/man/man1/
Installing PHP FPM binary: /usr/local/php/sbin/
Installing PHP FPM config: /usr/local/php/etc/
Installing PHP FPM man page: /usr/local/php/php/man/man8/
Installing PHP FPM status page: /usr/local/php/php/fpm/
Installing PHP CGI binary: /usr/local/php/bin/
Installing PHP CGI man page: /usr/local/php/php/man/man1/
Installing build environment: /usr/local/php/lib/php/build/
Installing header files: /usr/local/php/include/php/
Installing helper programs: /usr/local/php/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/php/php/man/man1/
page: phpize.1
page: php-config.1
/root/lnmp1.0-full/php-5.4.41/build/shtool install -c ext/phar/phar.phar /usr/local/php/bin
ln -s -f /usr/local/php/bin/phar.phar /usr/local/php/bin/phar
Installing PDO headers: /usr/local/php/include/php/ext/pdo/
Copy new php configure file.
Modify php.ini......
Install ZendGuardLoader for PHP...
--2015-07-23 14:01:50-- http://soft.vpser.net/web/zend/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-i386.tar.gz
Resolving soft.vpser.net... 50.93.201.152
Connecting to soft.vpser.net|50.93.201.152|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
The file is already fully retrieved; nothing to do.
ZendGuardLoader-70429-PHP-5.4-linux-glibc23-i386/
ZendGuardLoader-70429-PHP-5.4-linux-glibc23-i386/php-5.4.x/
ZendGuardLoader-70429-PHP-5.4-linux-glibc23-i386/php-5.4.x/ZendGuardLoader.so
ZendGuardLoader-70429-PHP-5.4-linux-glibc23-i386/README.txt
Write ZendGuardLoader to php.ini......
Creating new php-fpm configure file......
Copy php-fpm init.d file......
download new lnmp manager......
--2015-07-23 14:01:51-- http://soft.vpser.net/lnmp/ext/lnmp4php5.3
Resolving soft.vpser.net... 50.93.201.152
Connecting to soft.vpser.net|50.93.201.152|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
The file is already fully retrieved; nothing to do.
Remove old start files and Add new start file.....
Starting Nginx...
Starting nginx daemon: nginx.
Starting MySQL...
Starting MySQL. SUCCESS!
Starting PHP-FPM...
Starting php-fpm done
=========================================================================
You have successfully upgrade from 5.4.43 to 5.4.41
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux
=========================================================================
For more information please visit http://www.lnmp.org/
=========================================================================
[root@default ~]# /root/lnmp status
=========================================================================
Manager for LNMP V1.0 , Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org
Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Nginx is runing!
php-fpm is runing!
SUCCESS! MySQL running (29468)
[root@default ~]#
[ 本帖最后由 天天小苹果 于 2015-7-23 15:07 编辑 ] |
|