2021-03-04 06:34:14 +00:00
|
|
|
diff -up ./sapi/embed/config.m4.embed ./sapi/embed/config.m4
|
|
|
|
--- ./sapi/embed/config.m4.embed 2020-07-07 13:51:05.879764972 +0200
|
|
|
|
+++ ./sapi/embed/config.m4 2020-07-07 13:52:50.128412148 +0200
|
|
|
|
@@ -12,7 +12,8 @@ if test "$PHP_EMBED" != "no"; then
|
2015-10-29 14:49:49 +00:00
|
|
|
yes|shared)
|
2021-03-04 06:34:14 +00:00
|
|
|
LIBPHP_CFLAGS="-shared"
|
2015-10-29 14:49:49 +00:00
|
|
|
PHP_EMBED_TYPE=shared
|
|
|
|
- INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)\$(prefix)/lib"
|
|
|
|
+ EXTRA_LDFLAGS="$EXTRA_LDFLAGS -release \$(PHP_MAJOR_VERSION).\$(PHP_MINOR_VERSION)"
|
|
|
|
+ INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(libdir)"
|
|
|
|
;;
|
|
|
|
static)
|
2021-03-04 06:34:14 +00:00
|
|
|
LIBPHP_CFLAGS="-static"
|
|
|
|
diff -up ./scripts/php-config.in.embed ./scripts/php-config.in
|
|
|
|
--- ./scripts/php-config.in.embed 2020-07-07 12:54:42.000000000 +0200
|
|
|
|
+++ ./scripts/php-config.in 2020-07-07 13:51:05.880764968 +0200
|
2015-10-29 14:49:49 +00:00
|
|
|
@@ -18,7 +18,7 @@ exe_extension="@EXEEXT@"
|
|
|
|
php_cli_binary=NONE
|
|
|
|
php_cgi_binary=NONE
|
|
|
|
configure_options="@CONFIGURE_OPTIONS@"
|
|
|
|
-php_sapis="@PHP_INSTALLED_SAPIS@"
|
2021-03-04 06:34:14 +00:00
|
|
|
+php_sapis="apache2handler litespeed fpm phpdbg @PHP_INSTALLED_SAPIS@"
|
2019-10-02 07:55:02 +00:00
|
|
|
ini_dir="@EXPANDED_PHP_CONFIG_FILE_SCAN_DIR@"
|
|
|
|
ini_path="@EXPANDED_PHP_CONFIG_FILE_PATH@"
|
2015-10-29 14:49:49 +00:00
|
|
|
|