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

68 lines
1.4 KiB
TOML

packaging_format = 2
id = "phpinfo"
name = "Phpinfo"
description.en = "Simple phpinfo"
description.fr = "Simple phpinfo"
version = "1.0~ynh5"
maintainers = []
[upstream]
license = "GPL-3.0-or-later"
website = "https://www.php.net/manual/fr/function.phpinfo.php"
[integration]
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = false
sso = false
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/phpinfo"
[install.init_main_permission]
type = "group"
default = "visitors"
[install.phpversion]
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"]
default = "8.2"
[resources]
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
[resources.apt]
packages = ""
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
"""