From owner-freebsd-questions Mon Jan 22 16:52: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from h0040f6849012.ne.mediaone.net (h0040f6849012.ne.mediaone.net [24.147.179.35]) by hub.freebsd.org (Postfix) with ESMTP id E2F9E37B404 for ; Mon, 22 Jan 2001 16:51:46 -0800 (PST) Received: (from eric@localhost) by h0040f6849012.ne.mediaone.net (8.11.1/8.11.1) id f0N0pY503123; Mon, 22 Jan 2001 19:51:34 -0500 (EST) (envelope-from eric) Date: Mon, 22 Jan 2001 19:51:29 -0500 From: Eric Johnson To: George.Giles@mcmail.vanderbilt.edu Cc: freebsd-questions@freebsd.org Subject: Re: apache & mod_php4 Message-ID: <20010122195129.A2890@h0040f6849012.ne.mediaone.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from George.Giles@mcmail.vanderbilt.edu on Mon, Jan 22, 2001 at 04:37:19PM -0600 X-MUA-OS: FreeBSD 4.2-RELEASE X-Disclaimer: #include Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Make sure you have your AddType directive set properly in your httpd.conf file. For PHP3 it looks like, AddType application/x-httpd-php3 .php3 I know it's slightly different for PHP4, but I can't remember the exact syntax. On Mon, Jan 22, 2001 at 04:37:19PM -0600, George.Giles@mcmail.vanderbilt.edu wrote: > I have FreeBSD 4.2 with apache13 and mod_php4. > > I have added AddModule and LoadModule for PHP4 > > I cannot get any php files to execute. > > This configuiration runs fine on an identical machine except for it does > not virtual host where the non- functional machine does. > > All I should need are cgi-bin directives for each virtual host that wants > to run php scripts? > > cgi's run fine, but php's do not. > > Please advise > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Best Regards, Eric Johnson (eric@coding-zone.com && http://www.coding-zone.com) /home/eric [eric@coding-zone]$ /usr/games/fortune -s Living your life is a task so difficult, it has never been attempted before. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message