[root@iZwz9i89o2n9bg60o5rwl1Z oneinstack]# ./upgrade.sh php #######################################################################
# OneinStack for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+ #
# Upgrade Software versions for OneinStack #
# For more information please visit https://oneinstack.com #
####################################################################### Current PHP Version: 7.1.2 Please input upgrade PHP Version: 7.1.19
Download [php-7.1.19.tar.gz] successfully!
[php-7.1.19.tar.gz] found
Press Ctrl+c to cancel or Press any key to continue... gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
[fpm-race-condition.patch] found
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git sapi/fpm/fpm/events/epoll.c sapi/fpm/fpm/events/epoll.c
|index c9c7f1f..3676816 100644
|--- sapi/fpm/fpm/events/epoll.c
|+++ sapi/fpm/fpm/events/epoll.c
--------------------------
File to patch: /usr/local/php71
File /usr/local/php71 is not a regular file -- refusing to patch
1 out of 1 hunk ignored -- saving rejects to file /usr/local/php71.rej
~/oneinstack/src/php-7.1.19 ~/oneinstack/src ~/oneinstack
make: *** No rule to make target `clean'. Stop.
configure: error: cannot find sources (README.GIT-RULES) in . or ..
make: *** No targets specified and no makefile found. Stop.
Stoping php-fpm...
Gracefully shutting down php-fpm . done
make: *** No rule to make target `install'. Stop.
Starting php-fpm...
Starting php-fpm done
You have successfully upgrade from 7.1.2 to 7.1.19
[root@iZwz9i89o2n9bg60o5rwl1Z oneinstack]# php -v
PHP 7.1.2 (cli) (built: Feb 19 2017 18:39:45) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.2, Copyright (c) 1999-2017, by Zend Technologies