From owner-freebsd-ports@FreeBSD.ORG Sat Dec 4 20:30:10 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 632A716A4CE for ; Sat, 4 Dec 2004 20:30:10 +0000 (GMT) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 117DA43D31 for ; Sat, 4 Dec 2004 20:30:10 +0000 (GMT) (envelope-from frank@exit.com) Received: from realtime.exit.com (realtime [206.223.0.5]) by tinker.exit.com (8.13.1/8.12.9) with ESMTP id iB4KU7X9069267; Sat, 4 Dec 2004 12:30:08 -0800 (PST) (envelope-from frank@exit.com) Received: from realtime.exit.com (localhost [127.0.0.1]) by realtime.exit.com (8.13.1/8.12.9) with ESMTP id iB4KU7mJ048494; Sat, 4 Dec 2004 12:30:07 -0800 (PST) (envelope-from frank@realtime.exit.com) Received: (from frank@localhost) by realtime.exit.com (8.13.1/8.13.1/Submit) id iB4KU7H5048493; Sat, 4 Dec 2004 12:30:07 -0800 (PST) (envelope-from frank) From: Frank Mayhar Message-Id: <200412042030.iB4KU7H5048493@realtime.exit.com> In-Reply-To: <20041204194123.B170443D58@mx1.FreeBSD.org> To: "Joe St.Louis" Date: Sat, 4 Dec 2004 12:30:07 -0800 (PST) X-Copyright0: Copyright 2004 Frank Mayhar. All Rights Reserved. X-Copyright1: Permission granted for electronic reproduction as Usenet News or email only. X-Mailer: ELM [version 2.4ME+ PL119 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: mario@houseofsites.net cc: freebsd-ports@freebsd.org Subject: Re: PHP Splittup issues (aka preg_replace missing) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: frank@exit.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 20:30:10 -0000 I ran into this myself over the last couple of days. Here's what I did to fix it (in no particular order): Deinstall all vestiges of old PHP modules. Install php4-4.3.9. Install php4-extensions. Rebuild apache (I actually upgraded it to 1.3.33; I also run with mod_ssl, mod_accel and mod_deflate builtin). Rebuild mod_perl (almost certainly unrelated, but WTH). After I did all of this, I made certain to kill and restart the server. Somewhere in the process I fixed things and the last time I restarted the server (kinda by definition, I guess) it worked. I'm not sure exactly which of the above fixed it, although I'm pretty sure rebuilding mod_perl _didn't_ :-), but the combination did the trick. Before that point, by the way, I, too, was seeing the "can't load module" errors. Clearly, the new way of handling the extensions is very much incompatible with older installations. My $.02; hope it helps. -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/