[FGS] FGS ans PostgreSQL
Guillaume Dallaire
gdallaire at dmsolutions.ca
Tue Jun 7 10:44:25 EDT 2005
On Tue, 2005-06-07 at 11:41 -0300, Angelo Augusto Frozza wrote:
> Hi,
>
> We installed FGS in a Linux Server and him it is running well
> (http://inf.uniplac.net/sigodonto).
>
> However, We needed to use PHP + PostgreSQL + PostGIS.
> PHP is working well.
> We installed PostgreSQL 8.0, but FGS/PHP is not recognizing:
>
> "Fatal error: Call to undefined function: pg_connect()in
> /srv/www/infuni/html/bibvir/conexao.inc on line 6"
>
> We installed fgs-php_pgsql-module-4.3.10-linux-i386.tar.gz and yet not work.
>
> Can anybody help us?
Edit $FGS_HOME/www/conf/php.ini.template and add:
extension=php_pgsql.so
And run :
$ fgs stop ; fgs start
--
You can also include this module with dl('php_pgsql.so'); in your PHP
code.
--
------------------------------------------------------------
Guillaume Dallaire gdallaire at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the Foss-gis-suite
mailing list