Bug #65926 [Fbk->NoF]: configure statedir option does not apply to fpm on source rebuild

From: Date: Sun, 05 Dec 2021 04:22:08 +0000
Subject: Bug #65926 [Fbk->NoF]: configure statedir option does not apply to fpm on source rebuild
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238189@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65926&edit=1 ID: 65926 Updated by: php-bugs@lists.php.net Reported by: marfillaster at gmail dot com Summary: configure statedir option does not apply to fpm on source rebuild -Status: Feedback +Status: No Feedback Type: Bug Package: FPM related Operating System: 2.6.32-358.el6.x86_64 PHP Version: 5.5.5 Assigned To: cmb Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2021-11-23 13:35:26] cmb@php.net Is this still an issue with any of the actively supported PHP versions[1]? [1] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ [2013-10-18 03:42:23] marfillaster at gmail dot com Description: ------------ 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 workaround: a. make clean or 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65926&edit=1

« previous php.bugs (#238189) next »