Date: Fri, 3 Dec 2004 09:52:56 -0500 From: "Thomas S. Crum - AAA Web Solution, Inc." <tscrum@aaawebsolution.com> To: "'Andrew L. Gould'" <algould@datawok.com>, "'Cristi Tauber'" <cristi.tauber@sbhost.ro> Cc: 'FreeBSD Question' <freebsd-questions@freebsd.org> Subject: RE: php4-cli or mod_php4 Message-ID: <003301c4d947$cc81a390$0200a8c0@wolf> In-Reply-To: <20041203074442.2177b1f3@grokwell.org>
next in thread | previous in thread | raw e-mail | index | archive | help
By installing php4-extensions it will auto to using mod_php with apache. = I have never had a lick of trouble with apache 1.3 and the above mentioned set-up. Although, as the message states many have complained of trouble = with 2. I recommend installing mysql 1st, apache 1.3 2nd, then the = php4-extensions. Best, Thomas S. Crum -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Andrew L. = Gould Sent: Friday, December 03, 2004 8:45 AM To: Cristi Tauber Cc: FreeBSD Question Subject: Re: php4-cli or mod_php4 On Fri, 03 Dec 2004 15:30:15 +0200 Cristi Tauber <cristi.tauber@sbhost.ro> wrote: > Hello list, >=20 > i want to install apache+php+mysql. If i install mod_php i cannot > install php4-extension (mysql, etc ...). If i try to install php4-cli > and extensions apache doesn't know how to handle .php files . What's > the they to go to make apache work with mysql and php ? fBSD is 5.3. >=20 > Thanks, >=20 > Cristi Hi Cristi, Install php4-extensions; and then follow these instructions, which are found in /usr/ports/lang/php4/pkg-message.mod: *************************************************************** Make sure index.php is part of your DirectoryIndex. You should add the following to your Apache configuration file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps *************************************************************** You're next big question may be whether to use apache 1.3 or apache 2, as I keep seeing references on the internet about people having problems with php and apache 2. Best regards, Andrew Gould _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003301c4d947$cc81a390$0200a8c0>