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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Thu Sep 19 19:01:27 2019 UTC