public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: dont daemonize php-fpm (fedora >= 18 only)
@ 2026-11-27 7:25 remi
0 siblings, 0 replies; only message in thread
From: remi @ 2026-11-27 7:25 UTC (permalink / raw)
To: git-commits
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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 7:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 7:25 [rpms/php] private-php86: dont daemonize php-fpm (fedora >= 18 only) remi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox