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
commite6cff2ad15fea71fb8a430885e0a48eaed4e3916 (patch)
tree47f5ea476cb5748d0c318445eb7055c13ce203be
parent2fd6caf6b0bf68364b210b86e8421db046a0c0b5 (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