Skip to content

Commit

Permalink
Refresh patch for apache SAPI for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Aug 19, 2024
1 parent 3998807 commit 1f2766a
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ Subject: Add patch to install php7 module directly to APXS_LIBEXEC

--- a/sapi/apache2handler/config.m4
+++ b/sapi/apache2handler/config.m4
@@ -64,18 +64,9 @@ if test "$PHP_APXS2" != "no"; then
fi
@@ -61,18 +61,9 @@ if test "$PHP_APXS2" != "no"; then
[AC_MSG_ERROR([Please note that Apache version >= 2.4 is required])])

APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR`
- if test -z `$APXS -q SYSCONFDIR`; then
APXS_LIBEXECDIR='$(INSTALL_ROOT)'$($APXS -q LIBEXECDIR)
- if test -z $($APXS -q SYSCONFDIR); then
- INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
- $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
- -i -n php"
- else
- APXS_SYSCONFDIR='$(INSTALL_ROOT)'`$APXS -q SYSCONFDIR`
- APXS_SYSCONFDIR='$(INSTALL_ROOT)'$($APXS -q SYSCONFDIR)
- INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
- \$(mkinstalldirs) '$APXS_SYSCONFDIR' && \
- $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
Expand All @@ -29,4 +29,4 @@ Subject: Add patch to install php7 module directly to APXS_LIBEXEC
+ -i -n php"

LIBPHP_CFLAGS="-shared"
PHP_SUBST(LIBPHP_CFLAGS)
PHP_SUBST([LIBPHP_CFLAGS])

0 comments on commit 1f2766a

Please sign in to comment.