]> granicus.if.org Git - php/commitdiff
Allow PHP 7 to install in Apache 2 on OS X
authorChristopher Jones <sixd@php.net>
Fri, 29 Aug 2014 15:47:10 +0000 (08:47 -0700)
committerChristopher Jones <sixd@php.net>
Fri, 29 Aug 2014 15:47:10 +0000 (08:47 -0700)
This fixes the fundamental part of #67910.  The complete change from
php5 -> php7 in sapi/* still needs to be done.

sapi/apache2handler/config.m4

index 02f8a0b3ad86e70a5296737985197a7dc3fa8e56..a0080a654a43352e69be263364ea18f3a2d2a32d 100644 (file)
@@ -100,7 +100,7 @@ if test "$PHP_APXS2" != "no"; then
     MH_BUNDLE_FLAGS="-bundle -bundle_loader $APXS_HTTPD $MH_BUNDLE_FLAGS"
     PHP_SUBST(MH_BUNDLE_FLAGS)
     PHP_SELECT_SAPI(apache2handler, bundle, mod_php5.c sapi_apache2.c apache_config.c php_functions.c, $APACHE_CFLAGS)
-    SAPI_SHARED=libs/libphp5.so
+    SAPI_SHARED=libs/libphp7.so
     INSTALL_IT="$INSTALL_IT $SAPI_SHARED"
     ;;
   *beos*)