Skip to content

Check Apache HTTP Server command-line utility #14173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions build/php.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2040,6 +2040,7 @@ dnl
dnl This macro is used to get a comparable version for Apache.
dnl
AC_DEFUN([PHP_AP_EXTRACT_VERSION],[
AS_IF([test -x "$1"], [
ac_output=`$1 -v 2>&1 | grep version | $SED -e 's/Oracle-HTTP-//'`
ac_IFS=$IFS
IFS="- /.
Expand All @@ -2049,6 +2050,7 @@ IFS="- /.

APACHE_VERSION=`expr [$]4 \* 1000000 + [$]5 \* 1000 + [$]6`
])
])

dnl
dnl PHP_CONFIG_NICE(filename)
Expand Down
5 changes: 5 additions & 0 deletions sapi/apache2handler/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ if test "$PHP_APXS2" != "no"; then

APXS_INCLUDEDIR=`$APXS -q INCLUDEDIR`
APXS_HTTPD=`$APXS -q SBINDIR`/`$APXS -q TARGET`
AS_IF([test ! -x "$APXS_HTTPD"], [AC_MSG_ERROR([m4_normalize([
$APXS_HTTPD executable not found. Please, install Apache HTTP Server
command-line utility.
])])])

APXS_CFLAGS=`$APXS -q CFLAGS`
APU_BINDIR=`$APXS -q APU_BINDIR`
APR_BINDIR=`$APXS -q APR_BINDIR`
Expand Down
Loading