1
0
forked from infra/ansible

partdb: update to debian buster / PHP 7.3

This commit is contained in:
Markus 2019-09-17 08:51:03 +02:00
parent e31abbb8bb
commit 939b9ccb4c
2 changed files with 9 additions and 7 deletions

View File

@ -34,7 +34,7 @@ server {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
fastcgi_intercept_errors on;
}
}

View File

@ -3,10 +3,12 @@
- name: Install dependencies
apt: name={{ item }}
with_items:
- php7.0-fpm
- php7.0-ldap
- php7.0-sqlite3
- php7.0-xml
- php7.3-fpm
- php7.3-ldap
- php7.3-mysql
- php7.3-opcache
- php7.3-sqlite3
- php7.3-xml
- name: Create vhost directory
file: path=/var/www/partdb state=directory owner=www-data group=www-data
@ -27,5 +29,5 @@
file: src=/etc/nginx/sites-available/www dest=/etc/nginx/sites-enabled/www state=link
notify: Restart nginx
- name: Start php7.0-fpm
service: name=php7.0-fpm state=started enabled=yes
- name: Start php7.3-fpm
service: name=php7.3-fpm state=started enabled=yes