lang/php5 port

Brett Davidson brett at net24.co.nz
Wed Dec 17 01:43:42 UTC 2008


Steve Bertrand wrote:
> Brett Davidson wrote:
>   
>>> Tom Worster wrote:
>>>  
>>>       
>>>> is there any documentation or a helpful website for how to use ports to
>>>> install php5?
>>>>
>>>> i'm used to compiling it with a pretty long configuration command for
>>>> all
>>>> the optional bits i need, e.g. --with-dom --with-dom-xslt --enable-dom
>>>> --with-pear --with-gd etc. etc. on and on.
>>>>
>>>> i'm unclear how these options are handled in freebsd ports. is it a
>>>> matter
>>>> of identifying lots of individual ports, one for each of the
>>>> configuration
>>>> command options i'd normally use?
>>>>     
>>>>         
>>>   
>>>       
>> Run make config on the php port to see if any configuration options you
>> need are mentioned there.
>> I normally utlise the php-extensions port - run make config in there for
>> options.
>>     
>
> One of the reasons I've had to edit Makefile manually was because a
> client needed JPEG support.
>
> At the time, `make config' didn't provide that option.
>
> You make a couple of valuable points however. It would be easier if the
> OP's demands could be met with your method.
>
> Steve
>
>   
php-extensions supports jpg in the make config options - I use that too.
It's a really elegant way of configuring almost every php option we need.

Brett.


More information about the freebsd-questions mailing list