File php5-apache_sapi_install.patch of Package php5.openSUSE_Leap_42.1_Update

# Do not attempt to modify apache configuration on module install
================================================================================
---
 sapi/apache2handler/config.m4 |    9 ---------
 1 file changed, 9 deletions(-)

Index: sapi/apache2handler/config.m4
===================================================================
--- sapi/apache2handler/config.m4.orig
+++ sapi/apache2handler/config.m4
@@ -67,18 +67,9 @@ if test "$PHP_APXS2" != "no"; then
   fi
 
   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 php5"
-  else
-    APXS_SYSCONFDIR='$(INSTALL_ROOT)'`$APXS -q SYSCONFDIR`
-    INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
-                \$(mkinstalldirs) '$APXS_SYSCONFDIR' && \
-                 $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
-                       -S SYSCONFDIR='$APXS_SYSCONFDIR' \
-                       -i -a -n php5"
-  fi
 
   case $host_alias in
   *aix*)
openSUSE Build Service is sponsored by