|  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: -
From: marfillaster at gmail dot com Assigned:
Status: Open Package: FPM related
PHP Version: 5.5.5 OS: 2.6.32-358.el6.x86_64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
22 + 15 = ?
Subscribe to this entry?

 [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

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 24 13:03:38 2021 UTC