mirror of
https://github.com/teddysun/lamp.git
synced 2026-04-13 08:18:55 +00:00
Update comments
Fixed get PHP 5.6 latest version Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
@@ -30,7 +30,7 @@ upgrade_php(){
|
||||
local installed_php=`${php_location}/bin/php -r 'echo PHP_VERSION;' 2>/dev/null`
|
||||
|
||||
if [ "${php_version}" == "5.6" ]; then
|
||||
latest_php='5.6.32'
|
||||
latest_php=$(curl -s http://php.net/downloads.php | awk '/Changelog/{print $2}' | grep '5.6')
|
||||
elif [ "${php_version}" == "7.0" ]; then
|
||||
latest_php=$(curl -s http://php.net/downloads.php | awk '/Changelog/{print $2}' | grep '7.0')
|
||||
elif [ "${php_version}" == "7.1" ]; then
|
||||
|
||||
Reference in New Issue
Block a user