- 积分
- 6
- 威望
-
- 金钱
-
- 注册时间
- 2013-10-19
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2013-10-27 14:39:06
|
显示全部楼层
升级5.3.8记录
[root@localhost lnmp1.0-full]# ./upgrade_lnmpa_php.sh
=========================================================================
Upgrade PHP for LNMPA, Written by Licess
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux
For more information please visit http://www.lnmp.org/
=========================================================================
./upgrade_lnmpa_php.sh: line 23: /usr/local/php/bin/php: No such file or directory
Current PHP Version:
You can get version number from http://www.php.net/
(Please input PHP Version you want):5.3.8
===========================
You want to upgrade php version to 5.3.8
===========================
Press any key to start...or Press Ctrl+c to cancel
============================check files==================================
php-5.3.8.tar.gz [found]
============================check files==================================
Backup old php version configure files......
httpd: Syntax error on line 343 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot open shared object file: No such file or directory
cp: cannot stat `/usr/local/apache/modules/libphp5.so': No such file or directory
Stoping Nginx...
Stopping nginx daemon: nginx.
Stoping MySQL...
Shutting down MySQL. SUCCESS!
Stoping Apache...
httpd: Syntax error on line 343 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot open shared object file: No such file or directory
Starting install php......
php-5.3.8/
php-5.3.8/CREDITS
php-5.3.8/aclocal.m4
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
./upgrade_lnmpa_php.sh: line 105: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
cp: cannot stat `php.ini-production': No such file or directory
Modify php.ini......
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
Install ZendGuardLoader for PHP...
--2013-10-27 14:29:49-- http://soft.vpser.net/web/zend/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
Resolving soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
The file is already fully retrieved; nothing to do.
ZendGuardLoader-php-5.3-linux-glibc23-x86_64/
ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.x/
ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.x/ZendGuardLoader.so
ZendGuardLoader-php-5.3-linux-glibc23-x86_64/README.txt
Write ZendGuardLoader to php.ini......
Starting Nginx...
Starting nginx daemon: nginx.
Starting MySQL...
Starting MySQL.. SUCCESS!
Starting Apache...
httpd: Syntax error on line 343 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot open shared object file: No such file or directory
=========================================================================
You have successfully upgrade PHP of LNMPA from to 5.3.8
=========================================================================
LNMPA is tool to auto-compile & install Nginx+MySQL+PHP+Apache on Linux
=========================================================================
For more information please visit http://www.lnmp.org/ |
|