--- a/sapi/fpm/php-fpm.conf.in.orig	2020-11-24 05:10:55.000000000 -0600
+++ b/sapi/fpm/php-fpm.conf.in	2020-12-02 15:47:09.000000000 -0600
@@ -14,14 +14,14 @@
 ; Pid file
 ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
 ; Default Value: none
-;pid = run/php-fpm.pid
+;pid = run/@PHP@/php-fpm.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 @EXPANDED_LOCALSTATEDIR@
 ; Default Value: log/php-fpm.log
-;error_log = log/php-fpm.log
+error_log = log/@PHP@/php-fpm.log
 
 ; syslog_facility is used to specify what type of program is logging the
 ; message. This lets syslogd specify that messages from different facilities
@@ -34,7 +34,7 @@
 ; instances running on the same server, you can change the default value
 ; which must suit common needs.
 ; Default Value: php-fpm
-;syslog.ident = php-fpm
+syslog.ident = @PHP@-fpm
 
 ; Log level
 ; Possible Values: alert, error, warning, notice, debug
@@ -95,8 +95,9 @@
 ; process.priority = -19
 
 ; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
+; or for use with launchd.
 ; Default Value: yes
-;daemonize = yes
+daemonize = no
 
 ; Set open file descriptor rlimit for the master process.
 ; Default Value: system defined value
