Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 2009 21:22:48 +0000
From:      Glen Barber <glen.j.barber@gmail.com>
To:        Aflatoon Aflatooni <aaflatooni@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: php5 error in FreeBSD 7.2
Message-ID:  <4ad871310910021422x793e464s7fed54c4325fc182@mail.gmail.com>
In-Reply-To: <400246.26602.qm@web56204.mail.re3.yahoo.com>
References:  <71655.65913.qm@web56205.mail.re3.yahoo.com> <400246.26602.qm@web56204.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Fri, Oct 2, 2009 at 8:50 PM, Aflatoon Aflatooni <aaflatooni@yahoo.com> w=
rote:
> 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 co=
nfiguration arguments:
> --with-pcre-regex
>
> So your Makefile should have:
> CONFIGURE_ARGS=3D \
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --with-layout=3DGNU \
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --with-config-file-scan-dir=
=3D${PREFIX}/etc/php \
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --disable-all \
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --enable-libxml \
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --with-libxml-dir=3D${LOCAL=
BASE} \
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --with-pcre-regex \
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --enable-reflection \
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --program-prefix=3D""
>

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

HTH.

--=20
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310910021422x793e464s7fed54c4325fc182>