Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2004 12:45:03 -0400
From:      Rail mail <railmail@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   php postgres issues
Message-ID:  <c35bdefa040818094562fc2b74@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I am having issues with getting postgress extensions for php4

do you have to configure it via ports/compiling or can you get away
with with just pkg_dd -r

Iv'e tried

pkg_add -r apache
pkg_add -r mod_php4

and the ports way

cd /usr/ports/www/mod_php4
make
cd work/php-4.3.8
./configure --with-pgsql
cd ../../
make install

and variations of that
I also thought that I might have wanted something from
lang/php4-extensions
make config
//choose pgsql
make install

I havn't seemed to have any luck

the ol sys admin already set up httpd.conf

I was mucking around with php.ini trying to get it to use pgsql.so

what is the best direction to take
I'd like to stick to packages or ports 
I found tutorials on how to do it with rpms or tar.gz and do it by
hand, but freebsd has set up a nice system with ports and packages and
I would like to stick to that if I can

thanks for any help



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c35bdefa040818094562fc2b74>