summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElisamuel Resto2010-04-28 15:37:43 -0400
committerElisamuel Resto2010-04-28 17:13:59 -0400
commit9c17d42a571f8a46a57bc04395c81002276bb6de (patch)
treef533360e7197a63f553e3747043e7a5a644705c7
parent2fc4f36e0ea2264ce45b7ec80fdf0e461e402938 (diff)
php-pear/php: FastCGI SAPI is now enabled since PHP 5.3.0
-rwxr-xr-xphp-pear/php/CONFIGURE8
-rw-r--r--php-pear/php/HISTORY1
2 files changed, 7 insertions, 2 deletions
diff --git a/php-pear/php/CONFIGURE b/php-pear/php/CONFIGURE
index b18b62dd48..b74fa79521 100755
--- a/php-pear/php/CONFIGURE
+++ b/php-pear/php/CONFIGURE
@@ -34,8 +34,12 @@ config_query_list PHP5_SAPI "What SAPI do you want to use?" \
if [[ $PHP5_SAPI == cgi ]]; then
PHP5_OPTS="${PHP5_OPTS} --enable-cgi" &&
- config_query_option PHP5_OPTS "Enable FastCGI SAPI?" n \
- "--enable-fastcgi" "--disable-fastcgi"
+ if [[ $PHP5_BRANCH == legacy ]]; then
+ config_query_option PHP5_OPTS "Enable FastCGI SAPI?" n \
+ "--enable-fastcgi" "--disable-fastcgi"
+ else
+ message "${MESSAGE_COLOR}The FastCGI SAPI is now always enabled since PHP 5.3.0${DEFAULT_COLOR}"
+ fi
else
config_query_list PHP5_APACHE "Which Apache module to build?" \
none handler filter
diff --git a/php-pear/php/HISTORY b/php-pear/php/HISTORY
index f4f69daa1b..8319dca838 100644
--- a/php-pear/php/HISTORY
+++ b/php-pear/php/HISTORY
@@ -1,5 +1,6 @@
2010-04-28 Elisamuel Resto <ryuji@sourcemage.org>
* CONFIGURE: If CGI SAPI was used, dont ask again; if CGI was picked, at least use CGI
+ FastCGI SAPI is now always enabled since PHP 5.3.0
2010-04-08 Elisamuel Resto <ryuji@sourcemage.org>
* BUILD: SQLite (and other DBMS's) dont like -ffast-math (in fact, they filter it)