Thanks for taking a look, Initially i had just installed it plain and received the common error: Fatal error: Call to undefined function: pg_connect().

So i went to /usr/ports/www/mod_php4/ and did a make deinstall.

then i did a make install --with-pgsql=shared but to no avail. It doesnt show up after install. All i have is:


'./configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--with-regex=php' '--disable-cli' '--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd5.2.1'

Im relativley new to this aspect of server admining and trying to learn, anyone able to give a helpful hand by chance?

Thanks in advance

P.S. running freebsd 5.2.1 , php 4.3.8

Basically what im looking for is a straight explanation on how to fix this so i could use it for future purposes.

Appreciate everyones time.

-Z