php5-pcre-5.2.1_4 was Re: FreeBSD Port: php5-5.2.1_3

Eric heli at mikestammer.com
Tue Mar 13 11:51:37 UTC 2007


Eric wrote:
> this is what i spent 5 hours messing around with yesterday. heres how I 
> got it to work:
> 
> edit /usr/ports/lang/php5/Makefile
> 
> add --with-pcre-regex to the bottom of CONFIGURE_ARGS:
> 
> CONFIGURE_ARGS= --enable-versioning \
>         --with-layout=GNU \
>         --with-config-file-scan-dir=${PREFIX}/etc/php \
>         --disable-all \
>         --enable-libxml \
>         --with-libxml-dir=${LOCALBASE} \
>         --enable-reflection \
>         --program-prefix="" \
>         --with-pcre-regex
> 
> reinstall php5 and php5-pcre
> 
> Now it works. Before phpinfo was showing pcre version 2.x and now it 
> shows 6.7 which i believe is what is built into 5.2
> 

Good news! it seems this is fixed with the latest php5-pcre port update. 
woot!

showing PCRE Library Version 	7.0 18-Dec-2006 in phpinfo now


More information about the freebsd-ports mailing list