Commit f3392a5
committed
sapi/apache2handler: Add --disable-apache2-conf configure option
Add a new --disable-apache2-conf option that prevents apxs from editing
httpd.conf during installation. When SYSCONFDIR is non-empty, apxs is
invoked with -a, which requires httpd.conf to exist at the target path.
This fails when installing into a staging directory (INSTALL_ROOT) where
no `httpd.conf` exists but apxs is present and works, and is also
unwanted on distributions [like Debian][1] that manage Apache module
activation separately (e.g. via a2enmod).
[1]: https://salsa.debian.org/php-team/php/-/blob/9bd72dc78216cf136315d765ec3a602ac99e60e3/debian/patches/0030-Add-patch-to-install-php7-module-directly-to-APXS_LI.patch
Assisted-by: Claude Sonnet 4.61 parent 4c027ea commit f3392a5
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
9 | 18 | | |
10 | 19 | | |
11 | 20 | | |
| |||
69 | 78 | | |
70 | 79 | | |
71 | 80 | | |
72 | | - | |
| 81 | + | |
73 | 82 | | |
74 | 83 | | |
75 | 84 | | |
| |||
0 commit comments