php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74138 make install clobbers existing php-fpm.conf
Submitted: 2017-02-21 00:24 UTC Modified: 2017-02-23 15:43 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: coenraad at wish dot org dot za Assigned:
Status: Closed Package: *Compile Issues
PHP Version: 7.1Git-2017-02-20 (Git) OS: Any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: coenraad at wish dot org dot za
New email:
PHP Version: OS:

 

 [2017-02-21 00:24 UTC] coenraad at wish dot org dot za
Description:
------------
make install clobbers any existing configuration for php-fpm.conf 

This is problematic because most if not all PHP projects are very configuration dependent - and as such a "make install" will break an existing PHP application. 

It is further notable because the PHP version shipping with most distributions is quite old and it is becoming common for most applications to compile PHP themselves. Clobbering my configuration files and having to figure out how to get them working has robbed me of countless hours over the last month. 

Fix: do not overwrite existing php-fpm.conf


Patches

no-clobber-php-fpm-conf (last revision 2017-02-21 02:00 UTC by coenraad at wish dot org dot za)

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-02-21 00:59 UTC] coenraad at wish dot org dot za
Package maintainers will almost always build in a clean environment anyways, so this shouldn't affect them.
 [2017-02-21 01:45 UTC] coenraad at wish dot org dot za
The real problem is that php-fpm.d/* is included in most configs, and writing a .default to that directory causes problems
 [2017-02-23 12:23 UTC] cmb@php.net
-Summary: make install clobbers existing configuration +Summary: make install clobbers existing php-fpm.conf
 [2017-02-23 15:43 UTC] coenraad at wish dot org dot za
-Status: Open +Status: Closed
 [2017-02-23 15:43 UTC] coenraad at wish dot org dot za
Merged 9eaf551
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 20:01:29 2024 UTC