[PHP] phpPgAdmin ?

2001-02-22 Thread Oguz Demirkapi


Hi,

We have a PostgreSQL and Php 4.02 preinstalled Cobalt RaQ4r server and I
want to manage PostgreSQL via pgPgAdmin. But when I try to login I got
error such as :


Fatal error: Call to undefined function: pg_connect() in
/home/sites/home/web/manage/phpPgAdmin/lib.inc.php on line 130


At "Documentation.html" of phpPgAdmin there is an explanation such as :


phpPgAdmin can't connect to PostgreSQL. What's wrong?
Either there is an error with your PHP setup or your username/password
is wrong. Try to make a small script which uses pg_connect and see if it
works. If it doesn't, it may be you haven't even compiled PostgreSQL
support into PHP.


So how can I login into phpPgAdmin ? Do I need to install any extra
support for PHP ?

Thnx !


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP 4.0.4pl1 RPM download ?

2001-02-22 Thread Oguz Demirkapi

Hi,

Where can I find PHP 4.0.4pl1 RPM files in order to download ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Cobalt RaQ4r (RedHat 6.x) & Php 4 Update

2001-02-23 Thread Oguz Demirkapi

Hi,

I hade phpPgAdmin problem for RaQ4r servers.

There was no PostgreSQL support as default and I got error as 

Fatal error: Call to undefined function: pg_connect() in
/home/sites/home/web/manage/phpPgAdmin/lib.inc.php on line 130




I recompile PHP Version 4.0.4pl1 as below and now everything is ok.

1. ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd
--with-gettext=/usr --enable-safe-mode
--with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib
--enable-magic-quotes --with-regex=system --with-ttf=/usr/lib/libttf.so
--enable-track-vars --enable-xml --disable-debug --with-interbase=shared
--with-pgsql=/var/lib/pgsql --with-ldap --with-imap 
2. make clean
3. make
4. make install


I hope this helps !



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]