mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Update installed php-cgi to v7.3 (buster)
This commit is contained in:
parent
c7d8b5caf4
commit
57734e837f
@ -14,7 +14,7 @@ git_source_url="https://github.com/$repo" # $repo from install.raspap.com
|
||||
# php package to install
|
||||
if [ "$version" -eq "10" ]; then
|
||||
version_msg="Raspbian 10.0 (Buster)"
|
||||
php_package="php7.1-cgi"
|
||||
php_package="php7.3-cgi"
|
||||
elif [ "$version" -eq "9" ]; then
|
||||
version_msg="Raspbian 9.0 (Stretch)"
|
||||
php_package="php7.0-cgi"
|
||||
@ -25,8 +25,8 @@ elif [ "$version" -lt "8" ]; then
|
||||
fi
|
||||
|
||||
phpcgiconf=""
|
||||
if [ "$php_package" = "php7.1-cgi" ]; then
|
||||
phpcgiconf="/etc/php/7.1/cgi/php.ini"
|
||||
if [ "$php_package" = "php7.3-cgi" ]; then
|
||||
phpcgiconf="/etc/php/7.3/cgi/php.ini"
|
||||
elif [ "$php_package" = "php7.0-cgi" ]; then
|
||||
phpcgiconf="/etc/php/7.0/cgi/php.ini"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user