From owner-freebsd-questions Sun Jul 23 23: 6:26 2000 Delivered-To: freebsd-questions@freebsd.org Received: from po3.wam.umd.edu (po3.wam.umd.edu [128.8.10.165]) by hub.freebsd.org (Postfix) with ESMTP id 3326E37B594 for ; Sun, 23 Jul 2000 23:06:21 -0700 (PDT) (envelope-from gollucci@wam.umd.edu) Received: from rac1.wam.umd.edu (root@rac1.wam.umd.edu [128.8.10.141]) by po3.wam.umd.edu (8.9.3/8.9.3) with ESMTP id CAA09473; Mon, 24 Jul 2000 02:06:04 -0400 (EDT) Received: from rac1.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac1.wam.umd.edu (8.9.3/8.9.3) with SMTP id CAA04328; Mon, 24 Jul 2000 02:06:11 -0400 (EDT) Received: from localhost (gollucci@localhost) by rac1.wam.umd.edu (8.9.3/8.9.3) with ESMTP id CAA04324; Mon, 24 Jul 2000 02:06:10 -0400 (EDT) X-Authentication-Warning: rac1.wam.umd.edu: gollucci owned process doing -bs Date: Mon, 24 Jul 2000 02:06:10 -0400 (EDT) From: "Philip M. Gollucci" To: David@SkytrackerCanada.com Cc: questions@FreeBSD.ORG Subject: Re: how to run php3 code using php4 In-Reply-To: <397BD10A.CAAB07F1@www3.pacific-pages.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message