Updated Ubuntu to 18.04 (bionic) release

This commit is contained in:
root
2018-07-20 11:23:08 +09:00
99 changed files with 382 additions and 199 deletions

View File

@ -1,6 +1,6 @@
user www-data;
worker_processes 5;
worker_rlimit_nofile 256000;
#worker_rlimit_nofile 256000;
error_log /dev/fd/2 warn;

View File

@ -5,4 +5,4 @@ upload_max_filesize=2M
max_input_time=300
always_populate_raw_post_date=-1
; date.timezone=Europe/Riga
session.save_path=/var/lib/php5
session.save_path=/var/lib/php7

View File

@ -15,8 +15,8 @@ redirect_stderr=true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:php5-fpm]
command = /usr/sbin/%(program_name)s -F -c /etc/php5/fpm/php-fpm.conf
[program:php-fpm7.2]
command = /usr/sbin/%(program_name)s -F -c /etc/php/7.2/fpm/php-fpm.conf
auto_start = true
autorestart = true

View File

@ -51,7 +51,7 @@ server {
}
location ~ .php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;

View File

@ -75,7 +75,7 @@ server {
}
location ~ .php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;