[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP3 and PGSQL



You need to edit /etc/php3.ini.  RTFM in the /usr/doc/php3-pgsql
directory.  (Look at README.Debian.)

It works great.

On Wed, Jul 08, 1998 at 10:43:18PM +0200, Adam Heczko wrote:
> Hi everybody !
> 
> I've got problem running my *.php3 files, in which I use PostgreSQL as a
> database server. Generally pg_connect("localhost", "", "", "",
> "dbname"); function generates following error message :
> Fatal error: Call to unsupported or undefined function pg_connect() in
> /var/www/my_file.php3 on line 15
> 
> My system configuration is : 
> 
> 
> // from dpkg -l :
> 
> ii  apache          1.3.0-2        Versatile, high-performance HTTP
> server
> ii  php3            3.0-2          A server-side, HTML-embedded
> scripting langu
> ii  php3-doc        3.0-2          Documentation for PHP3
> ii  php3-pgsql      3.0-2          PostgreSQL module for PHP3
> ii  postgresql      6.3.2-8        Object-relational SQL database,
> descended fr
> 
> 
> // from /etc/apache/httpd.conf :
> 
> LoadModule php3_module /usr/lib/apache/1.3/libphp3.so
> 
> //from postmaster.init :
> 
> PGALLOWTCPIP=yes
> PGPORT=5432
> 
> All files resides in their default (Debian) locations. Could anybody
> help me ?
> 
> Thanks,
> 
> Adam Heczko.
> 
> 
> --  
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: