php5 error in FreeBSD 7.2

Aflatoon Aflatooni aaflatooni at yahoo.com
Fri Oct 2 21:51:16 UTC 2009





----- Original Message ----
> From: Glen Barber <glen.j.barber at gmail.com>
> To: Aflatoon Aflatooni <aaflatooni at yahoo.com>
> Cc: freebsd-questions at freebsd.org
> Sent: Friday, October 2, 2009 5:22:48 PM
> Subject: Re: php5 error in FreeBSD 7.2
> 
> Hi,
> 
> On Fri, Oct 2, 2009 at 8:50 PM, Aflatoon Aflatooni 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

That is the first thing that I tried but it wouldn't work and therefore my original question. 


      


More information about the freebsd-questions mailing list