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

Fix php version for fpm

This commit is contained in:
CodeShakingSheep 2023-09-11 18:08:56 +02:00 committed by GitHub
parent cdc7f4451e
commit cb3e3673ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,4 +47,14 @@ ram.runtime = "50M"
main.url = "/"
[resources.apt]
packages = "php8.0-fpm"
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
"""