Change php-fpm conf to log errors to stderr and create pidfile in /tmp
continuous-integration/drone/push Build is passing Details

php8
Hugo Thunnissen 2 years ago
parent 6127d61d2b
commit e4f7199715

@ -16,14 +16,18 @@
; Default Value: none
; Warning: if you change the value here, you need to modify systemd
; service PIDFile= setting to match the value here.
pid = /run/php/php8.1-fpm.pid
;;;;
; Note to self: setting this to "none" sets it to /var, still resulting in a
; failure to write the pidfile...
pid = /tmp/bullshit.pid
; Error log file
; If it's set to "syslog", log is sent to syslogd instead of being written
; into a local file.
; Note: the default prefix is /var
; Default Value: log/php-fpm.log
error_log = /var/log/php8.1-fpm.log
error_log = /dev/stderr
; syslog_facility is used to specify what type of program is logging the
; message. This lets syslogd specify that messages from different facilities

Loading…
Cancel
Save