Easy php{4,5} extension installer

Freddie Cash fcash-ml at sd73.bc.ca
Fri Jan 7 11:53:36 PST 2005


On January 7, 2005 11:32 am, Steve Clement wrote:
> Ever wanted to install php5-* extensions from the ports tree.
> Well I did, but noticed php5-oracle wasn't really my thing, so you
> would need a bit more control over it:

> for port in `locate php5- |cut -f5 -d\/ | uniq`; do
> portinstall -i $port
> done

> the locate statement can be replaced by a find one, and it can
> probably be done with something like: portinstall -i php5-\* but I
> couldn't find it out in less then 30seconds...

Why not just install /usr/ports/lang/php[45]-extensions and select the 
extensions you want from there?  :)

-- 
Freddie Cash, CCNT CCLP        Helpdesk / Network Support Tech.
School District 73             (250) 377-HELP [377-4357]
fcash-ml at sd73.bc.ca


More information about the freebsd-ports mailing list