add PHP7 for compatibility tt-rss and nextcloud

This commit is contained in:
vincent 2021-02-06 10:26:14 +01:00
parent f7ef999bdf
commit f1a0a8ac4e
3 changed files with 5 additions and 4 deletions

View File

@ -65,7 +65,7 @@ nginx_vhosts:
location ~ \.php$ {
# try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
fastcgi_pass unix:/run/php-fpm7/php-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_read_timeout 800;
fastcgi_index index.php;

View File

@ -20,7 +20,7 @@ nginx_realIP_Proxy: 192.168.1.40/24
nginx_upstreams:
- name: PHP-handler
servers:
- unix:/var/run/php-fpm/php-fpm.sock
- unix:/var/run/php-fpm7/php-fpm.sock
- name: archMirrorUp
servers:
- localhost:7001
@ -77,7 +77,7 @@ nginx_vhosts:
location ~ \.php$ {
# try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
fastcgi_pass unix:/run/php-fpm7/php-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_read_timeout 800;
fastcgi_index index.php;

View File

@ -21,6 +21,7 @@
- {role: ansible-role-postgresql, become: yes }
- {role: radicale , become: yes }
- php
- php7
- nextcloud
- tt-rss
- gitea
@ -37,6 +38,6 @@
user: "root"
name: "paccache job"
hour: "4"
Minute:"0"
minute: "0"
state: present
become: true