Argh! Correct module name is pgsql, not postgresql.
authorDave Page <dpage@developer.pgadmin.org>
Fri, 22 Aug 2008 14:08:19 +0000 (15:08 +0100)
committerDave Page <dpage@developer.pgadmin.org>
Fri, 22 Aug 2008 14:08:19 +0000 (15:08 +0100)
global.php

index 2d0b2527b7d8533c2618636e5a554de15eb242ef..dd373e5c9fc3e6c08fa607d67d61a4026336bb44 100644 (file)
@@ -28,7 +28,7 @@ else
     www_error("No configuration found", "No configuration file was found. Please copy config.php.in to config.php and edit as required.", "servers");
 
 // Check that the PostgreSQL module is available
-if (!extension_loaded("postgresql"))
-    www_error("PHP configuration error", "The postgresql module for PHP is not available. Please enable the module in your PHP configuration.", "servers");
+if (!extension_loaded("pgsql"))
+    www_error("PHP configuration error", "The PostgreSQL module (pgsql) for PHP is not available. Please enable the module in your PHP configuration.", "servers");
    
 ?>