summaryrefslogtreecommitdiffstats
path: root/php-pear/php/CONFIGURE
diff options
context:
space:
mode:
Diffstat (limited to 'php-pear/php/CONFIGURE')
-rwxr-xr-xphp-pear/php/CONFIGURE18
1 files changed, 2 insertions, 16 deletions
diff --git a/php-pear/php/CONFIGURE b/php-pear/php/CONFIGURE
index 1c3a799bf8..d89a67a7a2 100755
--- a/php-pear/php/CONFIGURE
+++ b/php-pear/php/CONFIGURE
@@ -12,12 +12,6 @@ config_query PHP5_PEAR "Do you want PEAR support?" y &&
config_query_option PHP5_OPTS "Enable IPv6?" n \
"--enable-ipv6" "--disable-ipv6" &&
-if is_version_less "${VERSION}" 5.4; then
- config_query_option PHP5_OPTS "Enable PHP safe mode?" n \
- "--enable-safe-mode" \
- "--disable-safe-mode"
-fi &&
-
config_query_option PHP5_OPTS "Enable sockets support?" y \
"--enable-sockets" "--disable-sockets" &&
@@ -84,16 +78,8 @@ else
list_add "PHP5_OPTS" "--disable-dba"
fi &&
-# get the native simple drivers
-if is_version_less "${VERSION}" 5.3; then
- # 5.2 drops SQLite 3 support
- local DB_DRIVERS="mysql mysqli pgsql sqlite firebird unixODBC iODBC"
-elif is_version_less "${VERSION}" 5.4; then
- local DB_DRIVERS="mysql mysqli pgsql sqlite sqlite3 firebird unixODBC iODBC"
-else
- # 5.4 drops SQLite 2 support
- local DB_DRIVERS="mysql mysqli pgsql sqlite3 firebird unixODBC iODBC"
-fi &&
+# get the native simple drivers (5.4 drops SQLite 2 support)
+local DB_DRIVERS="mysql mysqli pgsql sqlite3 firebird unixODBC iODBC" &&
config_query_multi PHP5_DATABASE_DRIVERS "Select vendor specific database drivers to install (if any)" \
none all $DB_DRIVERS &&