php5 error in FreeBSD 7.2

Glen Barber glen.j.barber at gmail.com
Fri Oct 2 21:22:50 UTC 2009


Hi,

On Fri, Oct 2, 2009 at 8:50 PM, Aflatoon Aflatooni <aaflatooni at yahoo.com> wrote:
> So I did find a thread about this and the used the following solution to fix the problem:
>
> - Edit /usr/ports/lang/php5/Makefile and add the following line to the configuration arguments:
> --with-pcre-regex
>
> So your Makefile should have:
> CONFIGURE_ARGS= \
>                 --with-layout=GNU \
>                 --with-config-file-scan-dir=${PREFIX}/etc/php \
>                 --disable-all \
>                 --enable-libxml \
>                 --with-libxml-dir=${LOCALBASE} \
>                 --with-pcre-regex \
>                 --enable-reflection \
>                 --program-prefix=""
>

Alternatively, installing devel/php5-pcre should do the trick.

HTH.

-- 
Glen Barber


More information about the freebsd-questions mailing list