mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
commit
1d734e5f1a
3 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,7 @@ location __PATH__ {
|
|||
try_files $uri $uri/ index.php;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php5-fpm-__NAME__.sock;
|
||||
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
|
||||
|
||||
# If you don't use a dedicated fpm config for your app,
|
||||
# use a general fpm pool.
|
||||
|
|
|
@ -12,7 +12,7 @@ ynh_delete_file_checksum () {
|
|||
ynh_app_setting_delete $app $checksum_setting_name
|
||||
}
|
||||
|
||||
extra_pkg_dependencies="php7.1-zip php7.1-mysql php7.1-xml php7.1-intl php7.1-mbstring php7.1-gd php7.1-curl php7.1-soap php7.1-pgsql php7.1-xmlrpc postgresql"
|
||||
extra_pkg_dependencies="php7.1-zip php7.1-mysql php7.1-xml php7.1-intl php7.1-mbstring php7.1-gd php7.1-curl php7.1-soap php7.1-pgsql php7.1-xmlrpc"
|
||||
|
||||
# Send an email to inform the administrator
|
||||
#
|
||||
|
|
|
@ -76,6 +76,7 @@ ynh_app_setting_set $app is_public $is_public
|
|||
ynh_print_info --message="Installing php7.1..."
|
||||
|
||||
ynh_install_php --phpversion="7.1" --package="$extra_pkg_dependencies"
|
||||
ynh_install_app_dependencies postgresql
|
||||
|
||||
#=================================================
|
||||
# Create postgresql database
|
||||
|
|
Loading…
Add table
Reference in a new issue