1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpinfo_ynh.git synced 2024-09-03 19:56:23 +02:00

Update manifest.toml

Add PHP8.3 as choice for PHP version
This commit is contained in:
CodeShakingSheep 2024-08-26 10:19:50 -05:00 committed by GitHub
parent 0a6f9dd842
commit 3c697d1072
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ ram.runtime = "50M"
ask.en = "Choose the version of PHP to use."
ask.fr = "Choisissez la version de PHP à utiliser."
type = "select"
choices = ["7.4", "8.0", "8.1", "8.2"]
choices = ["7.4", "8.0", "8.1", "8.2", "8.3"]
default = "8.2"
[resources]
@ -54,15 +54,7 @@ ram.runtime = "50M"
main.url = "/"
[resources.apt]
packages = ""
packages = "nginx" # Kind of "dummy" value to be sure to have a non-empty dep list
packages_from_raw_bash = """
if [[ "$php_version" == "7.4" ]]; then
echo "php7.4-fpm"
elif [[ "$php_version" == "8.0" ]]; then
echo "php8.0-fpm"
elif [[ "$php_version" == "8.1" ]]; then
echo "php8.1-fpm"
elif [[ "$php_version" == "8.2" ]]; then
echo "php8.2-fpm"
fi
"""
echo "php${phpversion}-fpm"
"""