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

64 lines
1.3 KiB
TOML
Raw Normal View History

2023-04-05 14:02:40 +02:00
packaging_format = 2
id = "phpinfo"
name = "Phpinfo"
description.en = "Simple phpinfo"
description.fr = "Simple phpinfo"
version = "1.0~ynh4"
2023-11-11 23:43:08 +01:00
maintainers = [""]
2023-04-05 14:02:40 +02:00
[upstream]
license = "GPL-3.0-or-later"
website = "https://www.php.net/manual/fr/function.phpinfo.php"
[integration]
2023-11-11 23:43:08 +01:00
yunohost = ">= 11.2"
2023-04-05 14:13:40 +02:00
architectures = "all"
2023-04-05 14:02:40 +02:00
multi_instance = true
2023-11-11 23:43:08 +01:00
2023-04-05 14:13:40 +02:00
ldap = false
2023-11-11 23:43:08 +01:00
2023-04-05 14:13:40 +02:00
sso = false
2023-11-11 23:43:08 +01:00
2023-04-05 14:13:40 +02:00
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
2023-04-05 14:02:40 +02:00
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/phpinfo"
[install.phpversion]
ask.en = "Choose the version of PHP to use."
ask.fr = "Choisissez la version de PHP à utiliser."
type = "string"
2023-04-05 14:13:40 +02:00
choices = ["7.4", "8.0", "8.1", "8.2"]
default = "8.0"
2023-04-05 14:02:40 +02:00
[resources]
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
2023-04-05 14:42:59 +02:00
[resources.apt]
2023-09-11 18:08:56 +02:00
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
"""