From owner-freebsd-questions@FreeBSD.ORG Fri Oct 2 21:22:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36176106568D for ; Fri, 2 Oct 2009 21:22:50 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id B75798FC14 for ; Fri, 2 Oct 2009 21:22:49 +0000 (UTC) Received: by bwz27 with SMTP id 27so1293440bwz.43 for ; Fri, 02 Oct 2009 14:22:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Uqi2XAoAu633M/5SjmtK8dnWXtPPbgiq5L/4zd/bQVA=; b=iPBLhO9iRn4z42PRlCxPBthN/2S98kfyjANAx8/oTMsE81NVP2jrtYhPge0KO0EKlO RW+AL9JUuoqBGEobJrqimWKw+kTn8ZVHKlfoZx9vr6HRkoKtRCOqYgyz/EZZy+UkFFAY ELg/R5HlH7t46g1OTBIKv+jvvCTjcV2GAE7jY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OIjdE/v495zetXaABV3wBEAX1YOv9Mqtv2KqW86B2yZA8WVkiFzamNU07CEPbtlg2y EYXoB4qIOmr+VwqQAtW9Vfs+qnB/cd5qaPYnJRiWpwUbhTBQUmQm4oHsSObsTLhFCSCn eIWPFNtT+K+1CILy+AwSZtP0omigK4BylSgl8= MIME-Version: 1.0 Received: by 10.223.143.79 with SMTP id t15mr1286805fau.26.1254518568806; Fri, 02 Oct 2009 14:22:48 -0700 (PDT) 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> Date: Fri, 2 Oct 2009 21:22:48 +0000 Message-ID: <4ad871310910021422x793e464s7fed54c4325fc182@mail.gmail.com> From: Glen Barber To: Aflatoon Aflatooni Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: php5 error in FreeBSD 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 21:22:50 -0000 Hi, On Fri, Oct 2, 2009 at 8:50 PM, Aflatoon Aflatooni 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