Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 19:51:29 -0500
From:      Eric Johnson <eric@coding-zone.com>
To:        George.Giles@mcmail.vanderbilt.edu
Cc:        freebsd-questions@freebsd.org
Subject:   Re: apache & mod_php4
Message-ID:  <20010122195129.A2890@h0040f6849012.ne.mediaone.net>
In-Reply-To: <OFE13A2691.9A976F3C-ON862569DC.007BE619@MC.VANDERBILT.EDU>; from George.Giles@mcmail.vanderbilt.edu on Mon, Jan 22, 2001 at 04:37:19PM -0600
References:  <OFE13A2691.9A976F3C-ON862569DC.007BE619@MC.VANDERBILT.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010122195129.A2890>