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

php problems



Am I right in thinking that php lacks pg support?

this is what I get from php <db access file>

PHP Fatal error:  Call to undefined function:  pg_connect() in /home/
www/html/contact_list.php on line 4

phpinfo shows (extract)


Configure Command  './configure' '--host=i386-redhat-linux' '--
build=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-
prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--
sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--
includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec'
'--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/
man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-
config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--
enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-
rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--
with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--
with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-gdbm'
'--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-
jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-
regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-dom=shared,/
usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-
xmlrpc=shared' '--with-pcre=/usr' '--with-zlib' '--with-layout=GNU' '--
enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes'
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-
sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--
enable-wddx' '--with-pear=/usr/share/pear' '--with-kerberos' '--with-
ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-
snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-
unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-
shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal'
'--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--
with-apxs2=/usr/sbin/apxs'

But no sign of any pgsql.so files (all postgres rpms are installed)




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