|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65926 configure statedir option does not apply to fpm on source rebuild
Submitted: 2013-10-18 03:42 UTC Modified: 2021-12-05 04:22 UTC
From: marfillaster at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: FPM related
PHP Version: 5.5.5 OS: 2.6.32-358.el6.x86_64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: marfillaster at gmail dot com
New email:
PHP Version: OS:


 [2013-10-18 03:42 UTC] marfillaster at gmail dot com
1. Initially, configure was not passed --statedir. Then php was built.
2. FPM wrote logs as expected in $prefix/var/log.
3. As a preference, logs should be in /var/log, so php was reconfigured with --statedir=/var then rebuilt.
4. The defaults written in php-fpm.conf.defaults automatically reflected /var.
5. Starting php-fpm service triggers an error as it still looking at $prefix/var/log

a. make clean
b. manually override all conf that relies on statedir

Expected result:
php-fpm should start normally and use the reconfigured statedir

make clean should not be required

Actual result:
php-fpm did not start as it still looks in default derived statedir


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-11-23 13:35 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-11-23 13:35 UTC]
Is this still an issue with any of the actively supported PHP

[1] <>
 [2021-12-05 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Oct 02 23:05:52 2022 UTC