diff --git a/manifest.toml b/manifest.toml index ea446dc..ff4ec2a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -51,7 +51,7 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages = "mariadb-server, ffmpeg, php8.1-fpm, php8.1-gd, php8.1-intl, php8.1-curl, php8.1-exif, php8.1-mbstring, php8.1-xml, php8.1-mysqlnd" + packages = "mariadb-server, ffmpeg, php8.2-gd, php8.2-intl, php8.2-curl, php8.2-exif, php8.2-mbstring, php8.2-xml, php8.2-mysqlnd" [resources.database] type = "mysql" diff --git a/scripts/install b/scripts/install index 292a52a..a688986 100755 --- a/scripts/install +++ b/scripts/install @@ -60,6 +60,7 @@ ynh_app_setting_set --app="$app" --key=redis_db --value="$redis_db" #redis_number=$(( $YNH_APP_INSTANCE_NUMBER - 1 )) ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env" + chmod 600 $install_dir/.env chown $app:www-data "$install_dir/.env"