From owner-freebsd-questions@FreeBSD.ORG Sat May 31 20:37:25 2008 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 8114B1065673 for ; Sat, 31 May 2008 20:37:25 +0000 (UTC) (envelope-from kevin@kevinkempterllc.com) Received: from outbound-mail-131.bluehost.com (outbound-mail-131.bluehost.com [67.222.39.21]) by mx1.freebsd.org (Postfix) with SMTP id 48CC68FC1B for ; Sat, 31 May 2008 20:37:25 +0000 (UTC) (envelope-from kevin@kevinkempterllc.com) Received: (qmail 25290 invoked by uid 0); 31 May 2008 20:10:44 -0000 Received: from unknown (HELO box54.bluehost.com) (69.89.20.54) by outboundproxy4.bluehost.com with SMTP; 31 May 2008 20:10:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kevinkempterllc.com; h=Received:Message-Id:From:To:Content-Type:Mime-Version:Subject:Date:X-Mailer:X-Identified-User:DomainKey-Status; b=A67afDBVJXwns8/rkpb/MOjTh28pnQGhkJlaqgUvSjJuUyk4fFfs/fag2vxCtiCxhq4d03o4OOvaBgu8m8qgdU1TieAfV+jGVg+IbUCLMB1gDSwzNEWWgldL7JmZ8RVm; Received: from vdsl-151-118-152-84.dnvr.qwest.net ([151.118.152.84] helo=new-host.home) by box54.bluehost.com with esmtpa (Exim 4.68) (envelope-from ) id 1K2XPV-0001MM-S5 for freebsd-questions@freebsd.org; Sat, 31 May 2008 14:10:44 -0600 Message-Id: <7B9E3A32-180C-4D24-991A-4EF1950D50E2@kevinkempterllc.com> From: kevin kempter To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sat, 31 May 2008 14:10:41 -0600 X-Mailer: Apple Mail (2.919.2) X-Identified-User: {840:box54.bluehost.com:kevinkem:kevinkempterllc.com} {sentby:smtp auth 151.118.152.84 authed with kevin+kevinkempterllc.com} DomainKey-Status: no signature Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: freeBSD PHP issues 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: Sat, 31 May 2008 20:37:25 -0000 Hi List; I'm fairly new to freeBSD, but a long time Linux biggot. I installed freeBSD7, then I installed PHP like this: # cd /usr/ports/lang/php5 # make config # make install Next I installed PostgreSQL and pgFouine However when I run pgfouine to generate a log report I get this error: $ php ./pgfouine.php -file $PGDATA/pg_log/postgresql-31.log > rept.html PHP Fatal error: Call to undefined function preg_replace() in /usr/ local/pgsql/pgfouine/include/reporting/geshi/geshi.php on line 474 preg_replace() I believe is a PHP built-in, anyone know how to correct this, or have thoughts on what I may be doing wrong. Maybe I've missed some sort of config step? Thanks in advance...