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: -
Votes:2
Avg. Score:3.5 ± 0.5
Reproduced:0 of 1 (0.0%)
From: peterkokot at gmail dot com Assigned:
Status: Open Package: Apache2 related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 05:01:29 2024 UTC