From owner-freebsd-questions Sun Jul 23 23:21:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from www3.pacific-pages.com (www3.pacific-pages.com [192.41.48.219]) by hub.freebsd.org (Postfix) with ESMTP id 078D237BB8B for ; Sun, 23 Jul 2000 23:21:49 -0700 (PDT) (envelope-from David@www3.pacific-pages.com) Received: from www3.pacific-pages.com ([216.191.75.54]) by www3.pacific-pages.com (8.8.5) id AAA11579; Mon, 24 Jul 2000 00:21:43 -0600 (MDT) Message-ID: <397BE052.B98FBE7B@www3.pacific-pages.com> Date: Mon, 24 Jul 2000 02:21:06 -0400 From: David Banning Reply-To: David@SkytrackerCanada.com Organization: Sky-Tracker of Canada Inc. X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Philip M. Gollucci" , questions@freebsd.org Subject: Re: how to run php3 code using php4 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks... but all of a sudden my method works - thanks for the quick response! "Philip M. Gollucci" wrote: > > You can compile apache so that php3 and php4 can be loaded as concurent > modules. > > see the INSTALL file for php-4.01pl2 > > in short (in php3 and in php4 subdirs) > ./configure --enable-versioning --with-apxs= > > in apache > ./configure --activate-module=src/modules/php3/libphp3.a \ > --activate-module=src/modules/php4/libphp4.a > > ***************************************************************************** > Philip M. Gollucci > E-mail : gollucci@wam.umd.edu > Philip@p6m7g8.com > Phone : 301.249.6261 > Major : Computer Science > Electrical Engineering > Current Job : Co Science, Discovery, & the Universe Webmaster > ***************************************************************************** > > On Mon, 24 Jul 2000, David Banning wrote: > > > I have a large php3 application which is too hard to try and change all > > the > > file extensions from php3 to php. Is there just a simple way to > > configure > > httpd.conf to execute php3? > > > > I tried changing; > > > > AddType application/x-httpd-php .php > > > > to > > > > AddType application/x-httpd-php .php .php3 > > > > but that doesn't work. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- Blood flows down one leg and up the other. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message