From owner-freebsd-questions@FreeBSD.ORG Fri Mar 31 14:13:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 4749916A41F for ; Fri, 31 Mar 2006 14:13:39 +0000 (UTC) (envelope-from darryl@osborne-ind.com) Received: from ws2.cnweb.com (ws2.cnweb.com [69.50.194.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3F4B43D4C for ; Fri, 31 Mar 2006 14:13:38 +0000 (GMT) (envelope-from darryl@osborne-ind.com) Received: (qmail 7495 invoked from network); 31 Mar 2006 08:15:00 -0600 Received: from p245n23.ruraltel.net (HELO darryl) (24.225.23.245) by ws2.cnweb.com with SMTP; 31 Mar 2006 08:15:00 -0600 From: "Darryl Hoar" To: Date: Fri, 31 Mar 2006 08:14:24 -0600 Message-ID: <002e01c654cd$6a2ed200$0701a8c0@darryl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: PHP4 install question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: darryl@osborne-ind.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 14:13:39 -0000 Greetings, I have a Freebsd 6-release machine. I have installed /usr/ports/lang/php4 the usual way. make make install. The problem I am having is that the application I am trying to run barfs with an error: Fatal error: Call to undefined function: preg_replace() in /usr/local/www/data-dist/webmail/functions/global.php on line 85. After some research, I found that I guess I need pcre in PHP4. phpinfo() does not show --with-pcre-regex . So, how do I do this ? thanks, Darryl