Re: [Mapbender-users] couldn´t connect to postgre

vollbotz volker.emmel at lwk-rlp.de
Thu Jul 24 05:10:03 EDT 2008


ok - found the problem..

forgot to install the php-pgsql-module which creates the pgsql.so

grr... V





vollbotz wrote:
> 
> hi list,
> 
> i couldn´t connect to postgre:
> 
> i always got the following error (..mapbender/http/frames/login.php)
> 
> Fatal error: Call to undefined function pg_connect() in
> /usr/local/fgs/www/htdocs/mapbender/http/php/database-pgsql.php on line 97 
> 
>>> the error tells me that PostGre wont be connected or wont work ! 
>>> (right?)
> 
> file-entries:
> 
> - mapbender.conf
>         define("SYS_DBTYPE", "pgsql");
>         define("DBSERVER", "200.1.X.XX");
>         define("PORT", "5432");
>         define("DB", "mapbender");
>         define("OWNER", "XXXXXXXX");
>         define("PW", "XXXXXXX");
>         define("MD5", "true");
>          
> #include_once("/usr/local/fgs/www/htdocs/mapbender/http/php/database-pgsql.php");
>          include_once("../../http/php/database-pgsql.php");
> 
> - php.ini
>        extension_dir=/usr/local/fgs/www/lib/php5
>        extension=plpgsql.so
>      
> 
> ....apache has been restarted....
> 
>>> which entry is wrong or is additional needed ??
> plpgsql.so exists in the extensions-path...
> or need i a extension=pgsql.so  ???
> 
> 
> System:  Suse Linux 10 - FGS - mapbender2.5 - ...
> 
> really don´t know.... i thing it couldn´t be a "big" problem, but ...
> 
> Thanks a lot...  V°!
> 
> 

-- 
View this message in context: http://www.nabble.com/couldn%C2%B4t-connect-to-postgre-tp18612363p18628059.html
Sent from the mapbender-users mailing list archive at Nabble.com.



More information about the Mapbender_users mailing list