dont daemonize php-fpm (fedora >= 18 only)
This commit is contained in:
parent
4f00aa8e17
commit
d87a16bf56
@ -217,6 +217,9 @@ slowlog = /var/log/php-fpm/www-slow.log
|
||||
;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
|
||||
;php_flag[display_errors] = off
|
||||
php_admin_value[error_log] = /var/log/php-fpm/www-error.log
|
||||
php_admin_value[session.save_path] = /var/lib/php/session
|
||||
php_admin_flag[log_errors] = on
|
||||
;php_admin_value[memory_limit] = 128M
|
||||
|
||||
; Set session path to a directory owned by process user
|
||||
php_admin_value[session.save_path] = /var/lib/php/session
|
||||
|
||||
|
@ -50,7 +50,7 @@ error_log = /var/log/php-fpm/error.log
|
||||
|
||||
; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
|
||||
; Default Value: yes
|
||||
;daemonize = yes
|
||||
daemonize = no
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
; Pool Definitions ;
|
||||
|
@ -3,7 +3,6 @@ Description=The PHP FastCGI Process Manager
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/php-fpm/php-fpm.pid
|
||||
EnvironmentFile=/etc/sysconfig/php-fpm
|
||||
ExecStart=/usr/sbin/php-fpm
|
||||
|
Loading…
Reference in New Issue
Block a user