public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: remi <fedora@famillecollet.com>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: dont daemonize php-fpm (fedora >= 18 only)
Date: Fri, 27 Nov 2026 07:25:12 GMT [thread overview]
Message-ID: <179576431216.1.4631796756124706542.rpms-php-d87a16bf561d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : d87a16bf561de0e7b4ec7f57b13ba2ca371b5f08
Author : remi <fedora@famillecollet.com>
Date : 2012-09-14T08:54:55+02:00
Stats : +6/-3 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/d87a16bf561de0e7b4ec7f57b13ba2ca371b5f08?branch=private-php86
Log:
dont daemonize php-fpm (fedora >= 18 only)
---
diff --git a/php-fpm-www.conf b/php-fpm-www.conf
index 3bba856..a5b8a13 100644
--- a/php-fpm-www.conf
+++ b/php-fpm-www.conf
@@ -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
+
diff --git a/php-fpm.conf b/php-fpm.conf
index 49b9af3..c9760eb 100644
--- a/php-fpm.conf
+++ b/php-fpm.conf
@@ -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 ;
diff --git a/php-fpm.service b/php-fpm.service
index 5aaaf3f..f981aac 100644
--- a/php-fpm.service
+++ b/php-fpm.service
@@ -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
diff --git a/php.spec b/php.spec
index 3f0f960..203f3b2 100644
--- a/php.spec
+++ b/php.spec
@@ -1282,6 +1282,7 @@ fi
* Fri Sep 14 2012 Remi Collet <remi@fedoraproject.org> 5.4.7-1
- update to 5.4.6
http://www.php.net/releases/5_4_6.php
+- php-fpm: don't daemonize
* Mon Aug 20 2012 Remi Collet <remi@fedoraproject.org> 5.4.6-2
- enable php-fpm on secondary arch (#849490)
reply other threads:[~2026-11-27 7:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179576431216.1.4631796756124706542.rpms-php-d87a16bf561d@fedoraproject.org \
--to=fedora@famillecollet.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox