php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75250 Installation fails with INSTALL_ROOT when httpd.conf file is not present
Submitted: 2017-09-23 19:06 UTC Modified: -
From: peterkokot at gmail dot com Assigned:
Status: Open Package: Apache2 related
PHP Version: Irrelevant OS:
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: peterkokot at gmail dot com
New email:
PHP Version: OS:

 

 [2017-09-23 19:06 UTC] peterkokot at gmail dot com
Description:
------------
When building PHP from source:

./configure --disable-all --with-apxs2
make
make INSTALL_ROOT="/opt/myphp" install

and /opt/myphp is empty, the installation fails with the following error:

apxs:Error: Config file /opt/myphp/etc/apache2/httpd.conf not found.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-09-23 21:54 UTC] spam2 at rhsoft dot net
Problem seems to be that it likes to put mod_php in the httpd conf5 hence we included long ago a fake httpd.conf in our rpmbuild, AFAIK touching the file should be enough

and YES this is a bug - but likely not in PHP but apxs as you can see who throws the error
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Sep 24 09:01:26 2019 UTC