1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moodle_ynh.git synced 2024-09-03 19:46:23 +02:00

Merge pull request #1 from liberodark/3.7.2

3.7.2
This commit is contained in:
liberodark 2019-11-05 18:39:44 +01:00 committed by GitHub
commit 1d734e5f1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -16,7 +16,7 @@ location __PATH__ {
try_files $uri $uri/ index.php; try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.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, # If you don't use a dedicated fpm config for your app,
# use a general fpm pool. # use a general fpm pool.

View file

@ -12,7 +12,7 @@ ynh_delete_file_checksum () {
ynh_app_setting_delete $app $checksum_setting_name 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 # Send an email to inform the administrator
# #

View file

@ -76,6 +76,7 @@ ynh_app_setting_set $app is_public $is_public
ynh_print_info --message="Installing php7.1..." ynh_print_info --message="Installing php7.1..."
ynh_install_php --phpversion="7.1" --package="$extra_pkg_dependencies" ynh_install_php --phpversion="7.1" --package="$extra_pkg_dependencies"
ynh_install_app_dependencies postgresql
#================================================= #=================================================
# Create postgresql database # Create postgresql database