Cobalt RaQ4r (RedHat 6.x) & Php 4 Update
| From: | Oguz Demirkapi | Date: | Fri, 23 Feb 2001 10:28:14 +0000 |
| Subject: | Cobalt RaQ4r (RedHat 6.x) & Php 4 Update | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41295@lists.php.net to get a copy of this message | ||
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 !