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:
parent
cdc7f4451e
commit
cb3e3673ec
1 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue