mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Update installed php-cgi to v7.3 (buster)
This commit is contained in:
parent
c7d8b5caf4
commit
57734e837f
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue