From owner-freebsd-ports@FreeBSD.ORG Fri Dec 3 08:59:57 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59D1716A4CE for ; Fri, 3 Dec 2004 08:59:57 +0000 (GMT) Received: from gate.xbsd.org (xbsd.org [81.56.254.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5DE343D54 for ; Fri, 3 Dec 2004 08:59:56 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by gate.xbsd.org (Postfix) with ESMTP id 40DF111707; Fri, 3 Dec 2004 10:01:08 +0100 (CET) Received: from gate.xbsd.org ([127.0.0.1]) by localhost (gate.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 79297-09; Fri, 3 Dec 2004 10:00:54 +0100 (CET) Received: from [127.0.0.1] (hub.xunix.org [163.5.255.82]) by gate.xbsd.org (Postfix) with ESMTP id 6420611705; Fri, 3 Dec 2004 10:00:54 +0100 (CET) Message-ID: <41B02AF4.1080909@xbsd.org> Date: Fri, 03 Dec 2004 09:59:32 +0100 From: Florent Thoumie User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Joe St.Louis" , freebsd-ports@freebsd.org References: <20041203042616.8515C43D31@mx1.FreeBSD.org> In-Reply-To: <20041203042616.8515C43D31@mx1.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at xbsd.org Subject: Re: PHP Splittup issues (aka preg_replace missing) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2004 08:59:57 -0000 Joe St.Louis wrote: > Howdy yall, > > While doing some upgrading to my ports I noticed my php stop working > properly. I am getting an error stating "undefined function: preg_replace" > in numerous web based programs such as squirrelmail and postnuke. > > After reading the UPGRADING file in the ports dir. I found that it is now > split into the base and the others. What I need to find out is where > preg_replace went to. > > Php.net says they cant help me cause its supposed to be in the base package. > > I have tried doing a portinstall -rf php4 with options in the Makefile such > as --with-mysql and --with-session and --with-pear. But nothing seems to get > that function back for me. > > Here is a listing of the modules I currently have installed. > > # pkg_info | grep php > mod_php4-4.3.9,1 PHP Apache Module > php4-4.3.9 PHP Scripting Language (Apache Module and CLI) > php4-ctype-4.3.9 The ctype shared extension for php > php4-extensions-1.0 A "meta-port" to install PHP extensions > php4-gd-4.3.9 The gd shared extension for php > php4-gettext-4.3.9 The gettext shared extension for php > php4-imap-4.3.9 The imap shared extension for php > php4-mbstring-4.3.9 The mbstring shared extension for php > php4-mhash-4.3.9 The mhash shared extension for php > php4-mysql-4.3.9 The mysql shared extension for php > php4-openssl-4.3.9 The openssl shared extension for php > php4-overload-4.3.9 The overload shared extension for php > php4-pcre-4.3.9 The pcre shared extension for php > php4-pear-4.3.9 PEAR framework for PHP > php4-posix-4.3.9 The posix shared extension for php > php4-session-4.3.9 The session shared extension for php > php4-tokenizer-4.3.9 The tokenizer shared extension for php > php4-xml-4.3.9 The xml shared extension for php > php4-zlib-4.3.9 The zlib shared extension for php > > also incase you are curious I am running 4.7. preg_replace() is provided by php4-pcre, so if it doesn't work at the moment, you may want to restart apache, to get php.ini re-read (extension are loaded this way IIRC). -- Florent Thoumie flz@xbsd.org