summaryrefslogtreecommitdiffstats
path: root/php-5.6.3-embed.patch
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
commit5fe14898b8d1d5df312070b013ba3fbce44967bc (patch)
treedb2f407279a55b8b25045adc47b6fccd7e4e7829 /php-5.6.3-embed.patch
parent4661da583fbbfe411bb4240ab5da0687e7677cdb (diff)
php-config: reports all built sapis
Diffstat (limited to 'php-5.6.3-embed.patch')
-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