Update installed php-cgi to v7.3 (buster)

This commit is contained in:
billz 2020-03-16 23:29:48 +00:00
parent c7d8b5caf4
commit 57734e837f

View file

@ -14,7 +14,7 @@ git_source_url="https://github.com/$repo" # $repo from install.raspap.com
# php package to install # php package to install
if [ "$version" -eq "10" ]; then if [ "$version" -eq "10" ]; then
version_msg="Raspbian 10.0 (Buster)" version_msg="Raspbian 10.0 (Buster)"
php_package="php7.1-cgi" php_package="php7.3-cgi"
elif [ "$version" -eq "9" ]; then elif [ "$version" -eq "9" ]; then
version_msg="Raspbian 9.0 (Stretch)" version_msg="Raspbian 9.0 (Stretch)"
php_package="php7.0-cgi" php_package="php7.0-cgi"
@ -25,8 +25,8 @@ elif [ "$version" -lt "8" ]; then
fi fi
phpcgiconf="" phpcgiconf=""
if [ "$php_package" = "php7.1-cgi" ]; then if [ "$php_package" = "php7.3-cgi" ]; then
phpcgiconf="/etc/php/7.1/cgi/php.ini" phpcgiconf="/etc/php/7.3/cgi/php.ini"
elif [ "$php_package" = "php7.0-cgi" ]; then elif [ "$php_package" = "php7.0-cgi" ]; then
phpcgiconf="/etc/php/7.0/cgi/php.ini" phpcgiconf="/etc/php/7.0/cgi/php.ini"
fi fi