Updated Ubuntu to 18.04 (bionic) release

This commit is contained in:
root
2018-07-20 11:14:16 +09:00
parent cf2e9bfd6d
commit 72d29a0564
99 changed files with 378 additions and 227 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

@@ -1,8 +0,0 @@
max_execution_time=300
memory_limit=128M
post_max_size=16M
upload_max_filesize=2M
max_input_time=300
always_populate_raw_post_date=-1
; date.timezone=Europe/Riga
session.save_path=/var/lib/php5

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;