From: Nozomi Anzai Date: Wed, 8 Apr 2015 04:22:31 +0000 (+0900) Subject: Modified installer to check if pgsql extension is loaded X-Git-Tag: V3_5_BETA1~21 X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=1f2ad1b02bf78fdc259c9e6bdff91ce32488e5c1;p=pgpooladmin.git Modified installer to check if pgsql extension is loaded Patch contributed by Rodrigo Ramirez Norambuena --- diff --git a/install/checkParameter.php b/install/checkParameter.php index df2f0ce..e5a3b3a 100644 --- a/install/checkParameter.php +++ b/install/checkParameter.php @@ -195,6 +195,12 @@ if (isset($_POST['pcp_refreshTime']) && $_POST['pcp_refreshTime']) { $pcp_refreshTime = _PGPOOL2_STATUS_REFRESH_TIME; } +$msgPhpPgsql= ''; +if (!extension_loaded('pgsql')){ + $msgPhpPgsql = 'not installed'; + $error = TRUE; +} + /* --------------------------------------------------------------------- */ /* Write pgmt.conf.php */ /* --------------------------------------------------------------------- */ @@ -296,6 +302,21 @@ if (!$error && $action == 'next') { + +

+ + + + + +
+ +
+ Welcome to pgpool-II Administration Tool

-

+

+ +