summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-10-19 15:40:46 +0200
committerRemi Collet <fedora@famillecollet.com>2015-10-19 15:40:46 +0200
commitc7a3fd6ab4bfe9836a8ab853eee5530024825078 (patch)
tree43b393129e37fa5b4ca3219b522fb23dec1ffc32
parent8965b7ccc774d75048cff11a5380adc406db7282 (diff)
php-config: reports all built sapis
-rw-r--r--php-5.6.3-embed.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/php-5.6.3-embed.patch b/php-5.6.3-embed.patch
index af7d355..d9c04f6 100644
--- a/php-5.6.3-embed.patch
+++ b/php-5.6.3-embed.patch
@@ -10,3 +10,15 @@
;;
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