You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
6 years ago
|
--- php-5.6.3/sapi/embed/config.m4.embed
|
||
|
+++ php-5.6.3/sapi/embed/config.m4
|
||
|
@@ -12,7 +12,8 @@ if test "$PHP_EMBED" != "no"; then
|
||
|
case "$PHP_EMBED" in
|
||
|
yes|shared)
|
||
|
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)
|
||
|
PHP_EMBED_TYPE=static
|
||
|
diff -up php-5.5.30/scripts/php-config.in.old php-5.5.30/scripts/php-config.in
|
||
|
--- php-5.5.30/scripts/php-config.in.old 2015-10-19 15:17:31.944747715 +0200
|
||
|
+++ php-5.5.30/scripts/php-config.in 2015-10-19 15:17:58.278858083 +0200
|
||
|
@@ -18,7 +18,7 @@ exe_extension="@EXEEXT@"
|
||
|
php_cli_binary=NONE
|
||
|
php_cgi_binary=NONE
|
||
|
configure_options="@CONFIGURE_OPTIONS@"
|
||
|
-php_sapis="@PHP_INSTALLED_SAPIS@"
|
||
|
+php_sapis="apache2handler embed fpm @PHP_INSTALLED_SAPIS@"
|
||
|
|
||
|
# Set php_cli_binary and php_cgi_binary if available
|
||
|
for sapi in $php_sapis; do
|