Rick Barter wrote:
I have Googled and searched the archives, but I'm not finding what I'm looking for.

I have installed php4 from ports and realize after researching an erro I was getting and viewing info.php that I don't have support for mysql and postgresql.

Is there a way I can add support for these databases after the fact? If not, how should I go about recompiling with these options. I see in the Makefile that these "flavors" are available, but I can't figure out how to tell it I want to use a certain flavor.

Can someone point me to a man page or some documentation?

rvb



Here's how I got it to work... For the archives:

cd /usr/ports/www/php4/
export FLAVOR="mysql"
sudo make && sudo make install
sudo /usr/local/sbin/php4-enable
sudo cp /usr/local/share/doc/php4/php.ini-dist /var/www/conf/php.ini

I got this from: http://www.hostbaby.com/misc/mysql-openbsd.html

Thanks to the folks at Hostbaby.com for putting this information up
and to marc@ and brad@ who gave them the information.

rvb



Reply via email to