From owner-freebsd-questions@FreeBSD.ORG Fri Dec 31 20:15:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59ABE16A4CE; Fri, 31 Dec 2004 20:15:01 +0000 (GMT) Received: from hotmail.com (bay103-dav16.bay103.hotmail.com [65.54.174.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13E9043D31; Fri, 31 Dec 2004 20:15:01 +0000 (GMT) (envelope-from whitevamp47@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 31 Dec 2004 12:15:00 -0800 Message-ID: Received: from 65.102.125.195 by BAY103-DAV16.phx.gbl with DAV; Fri, 31 Dec 2004 20:14:26 +0000 X-Originating-IP: [65.102.125.195] X-Originating-Email: [whitevamp47@hotmail.com] X-Sender: whitevamp47@hotmail.com From: "whitevamp" To: , Date: Fri, 31 Dec 2004 12:14:34 -0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-OriginalArrivalTime: 31 Dec 2004 20:15:00.0813 (UTC) FILETIME=[67FE07D0:01C4EF75] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: php modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Dec 2004 20:15:01 -0000 I didnt know where to post this to so im posting it to quistions@ and = ports@ i have compiles and installed php 4.3.10 and i was needing to install = pcre ,so i did on the command line make PHP_MODNAME=3Dpcre install and then i noticed that it didnt install pcre it just compiled in = support for it so i did some looking around for pcre and found php4-pcre so i installed it and when it got done installing it i got a message = saying that the=20 Libraries have been installed in: /usr/ports/devel/php4-pcre/work/php-4.3.10/ext/pcre/modules ( why dose it leave the libraies in the ports dir?? ) so i moved them to a folder for php to find more esaly and with out = getting wiped out when i do a portupgrade, and i set the module path in = the php.ini file=20 IE:/usr/local/php-modules=20 now in the php log file it saying this=20 [31-Dec-2004 01:27:25] PHP Notice: Constant PREG_PATTERN_ORDER already = defined in Unknown on line 0 =20 [31-Dec-2004 01:27:25] PHP Notice: Constant PREG_SET_ORDER already = defined in Unknown on line 0 = =20 [31-Dec-2004 01:27:25] PHP Notice: Constant PREG_OFFSET_CAPTURE already = defined in Unknown on line 0 =20 [31-Dec-2004 01:27:25] PHP Notice: Constant PREG_SPLIT_NO_EMPTY already = defined in Unknown on line 0 =20 [31-Dec-2004 01:27:25] PHP Notice: Constant PREG_SPLIT_DELIM_CAPTURE = already defined in Unknown on line 0 = [31-Dec-2004 01:27:25] PHP Notice: Constant PREG_SPLIT_OFFSET_CAPTURE = already defined in Unknown on line 0 =20 [31-Dec-2004 01:27:25] PHP Notice: Constant PREG_GREP_INVERT already = defined in Unknown on line 0 = [31-Dec-2004 01:27:25] PHP Warning: Function registration failed - = duplicate name - preg_match in Unknown on line 0 = =20 [31-Dec-2004 01:27:25] PHP Warning: Function registration failed - = duplicate name - preg_match_all in Unknown on line 0 = =20 [31-Dec-2004 01:27:25] PHP Warning: Function registration failed - = duplicate name - preg_replace in Unknown on line 0 = =20 [31-Dec-2004 01:27:25] PHP Warning: Function registration failed - = duplicate name - preg_replace_callback in Unknown on line 0 = =20 [31-Dec-2004 01:27:25] PHP Warning: Function registration failed - = duplicate name - preg_split in Unknown on line 0 = =20 [31-Dec-2004 01:27:25] PHP Warning: Function registration failed - = duplicate name - preg_quote in Unknown on line 0 = =20 [31-Dec-2004 01:27:25] PHP Warning: Function registration failed - = duplicate name - preg_grep in Unknown on line 0 = =20 [31-Dec-2004 01:27:25] PHP Warning: pcre: Unable to register = functions, unable to load in Unknown on line 0 =20 so my quistin's are 1. should i have left it in the ports dir? 2. did i not move something that it needs ?? 3. as sad above ( why dose it leave the libraies in the ports dir?? ) 4. am i doing this right ?? or all wrong?? 5. why am i getting this error ? this is for an apache mod=20 the reason im trying to get this to work is becouse i have a CMF that is = complaining about Call to undefined function: preg_match_all() and the coders sugested that i install pcre. wich dont make sence to me = becouse i didnt have it installed before i did a portupgrade on php and = apache, any how im bableing now. and thanks for any help on this inadvance