On Thu, May 12, 2005 at 14:13 -0400, 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.
> 

I'd go with something like this (for mysql):

$ cd /usr/ports/www/php4/extensions
$ sudo env SUBPACKAGE=-mysql FLAVOR="no_curl no_dba no_dbase \
        no_ldap no_pgsql no_snmp no_mcrypt no_imap no_domxml \
        no_mhash no_sybase_ct no_xmlrpc no_xslt" make install \
        clean CLEANDEPENDS=Yes

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

Reply via email to