summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/mod_php4/scripts/configure.php6
-rw-r--r--www/mod_php5/scripts/configure.php6
2 files changed, 10 insertions, 2 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index fb4694e..3691299 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -8,7 +8,11 @@ fi
tempfile=`/usr/bin/mktemp -t checklist`
if [ "${BATCH}" ]; then
- set \"zlib\" \"MySQL\"
+ if [ "${PHP4_OPTIONS}" ]; then
+ set ${PHP4_OPTIONS}
+ else
+ set \"zlib\" \"MySQL\"
+ fi
else
/usr/bin/dialog --title "configuration options" --clear \
--checklist "\n\
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index fb4694e..3691299 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/scripts/configure.php
@@ -8,7 +8,11 @@ fi
tempfile=`/usr/bin/mktemp -t checklist`
if [ "${BATCH}" ]; then
- set \"zlib\" \"MySQL\"
+ if [ "${PHP4_OPTIONS}" ]; then
+ set ${PHP4_OPTIONS}
+ else
+ set \"zlib\" \"MySQL\"
+ fi
else
/usr/bin/dialog --title "configuration options" --clear \
--checklist "\n\
OpenPOWER on IntegriCloud