diff options
author | Remi Collet <remi@remirepo.net> | 2018-03-27 21:46:36 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-03-27 21:46:36 +0200 |
commit | 161dd4806849d221b222707b112c66edde6f1db3 (patch) | |
tree | 2c96d2ed308776d71a75237a39a334688e3f1090 | |
parent | d424c8ca54d5f4e9eb317d98cda9256b5bc8f2af (diff) |
Update to 7.2.4 - http://www.php.net/releases/7_2_4.php
FPM: update default pool configuration for process.dumpable
-rw-r--r-- | failed.txt | 2 | ||||
-rw-r--r-- | php-fpm-www.conf | 30 | ||||
-rw-r--r-- | php72.spec | 8 |
3 files changed, 25 insertions, 15 deletions
@@ -1,4 +1,4 @@ -===== 7.2.4RC1 (2018-03-15) +===== 7.2.4 (2018-03-29) $ grep -r 'Tests failed' /var/lib/mock/{fc,el}*/build.log diff --git a/php-fpm-www.conf b/php-fpm-www.conf index 3264334..7647faa 100644 --- a/php-fpm-www.conf +++ b/php-fpm-www.conf @@ -20,7 +20,7 @@ ; Unix user/group of processes ; Note: The user is mandatory. If the group is not set, the default user's group ; will be used. -; RPM: apache Choosed to be able to access some dir as httpd +; RPM: apache user chosen to provide access to the same directories as httpd user = apache ; RPM: Keep a group allowed to write in log dir. group = apache @@ -71,6 +71,12 @@ listen.allowed_clients = 127.0.0.1 ; Default Value: no set ; process.priority = -19 +; Set the process dumpable flag (PR_SET_DUMPABLE prctl) even if the process user +; or group is differrent than the master process user. It allows to create process +; core dump and ptrace the process for the pool user. +; Default Value: no +; process.dumpable = yes + ; Choose how the process manager will control the number of child processes. ; Possible Values: ; static - a fixed number (pm.max_children) of child processes; @@ -122,7 +128,7 @@ pm.min_spare_servers = 5 ; Note: Used only when pm is set to 'dynamic' ; Note: Mandatory when pm is set to 'dynamic' pm.max_spare_servers = 35 - + ; The number of seconds after which an idle process will be killed. ; Note: Used only when pm is set to 'ondemand' ; Default Value: 10s @@ -232,7 +238,7 @@ pm.max_spare_servers = 35 ; may conflict with a real PHP file. ; Default Value: not set ;pm.status_path = /status - + ; The ping URI to call the monitoring page of FPM. If this value is not set, no ; URI will be recognized as a ping page. This could be used to test from outside ; that FPM is alive and responding, or to @@ -249,7 +255,7 @@ pm.max_spare_servers = 35 ; response is formatted as text/plain with a 200 response code. ; Default Value: pong ;ping.response = pong - + ; The access log file ; Default: not set ;access.log = log/$pool.access.log @@ -330,16 +336,16 @@ slowlog = /var/log/php-fpm/www-slow.log ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) ; Default Value: 0 ;request_terminate_timeout = 0 - + ; Set open file descriptor rlimit. ; Default Value: system defined value ;rlimit_files = 1024 - + ; Set max core size rlimit. ; Possible Values: 'unlimited' or an integer greater or equal to 0 ; Default Value: system defined value ;rlimit_core = 0 - + ; Chroot to this directory at the start. This value must be defined as an ; absolute path. When this value is not set, chroot is not used. ; Note: you can prefix with '$prefix' to chroot to the pool prefix or one @@ -349,20 +355,20 @@ slowlog = /var/log/php-fpm/www-slow.log ; possible. However, all PHP paths will be relative to the chroot ; (error_log, sessions.save_path, ...). ; Default Value: not set -;chroot = - +;chroot = + ; Chdir to this directory at the start. ; Note: relative path can be used. ; Default Value: current directory or / when chroot ;chdir = /var/www - + ; Redirect worker stdout and stderr into main error log. If not set, stdout and ; stderr will be redirected to /dev/null according to FastCGI specs. ; Note: on highloaded environement, this can cause some delay in the page ; process time (several ms). ; Default Value: no ;catch_workers_output = yes - + ; Clear environment in FPM workers ; Prevents arbitrary environment variables from reaching FPM worker processes ; by clearing the environment in workers before env vars specified in this @@ -393,7 +399,7 @@ slowlog = /var/log/php-fpm/www-slow.log ; overwrite the values previously defined in the php.ini. The directives are the ; same as the PHP SAPI: ; php_value/php_flag - you can set classic ini defines which can -; be overwritten from PHP call 'ini_set'. +; be overwritten from PHP call 'ini_set'. ; php_admin_value/php_admin_flag - these directives won't be overwritten by ; PHP call 'ini_set' ; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no. @@ -112,12 +112,12 @@ %endif %global upver 7.2.4 -%global rcver RC1 +#global rcver RC1 Summary: PHP scripting language for creating dynamic web sites Name: php Version: %{upver}%{?rcver:~%{rcver}} -Release: 3%{?dist} +Release: 1%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -2136,6 +2136,10 @@ fi %changelog +* Tue Mar 27 2018 Remi Collet <remi@remirepo.net> - 7.2.4-1 +- Update to 7.2.4 - http://www.php.net/releases/7_2_4.php +- FPM: update default pool configuration for process.dumpable + * Wed Mar 21 2018 Remi Collet <remi@remirepo.net> - 7.2.4~RC1-3 - use systemd RuntimeDirectory instead of /etc/tmpfiles.d |