Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2006 12:56:09 -0400
From:      "fbsd" <fbsd@a1poweruser.com>
To:        "Duane Whitty" <duane@greenmeadow.ca>, "Maan Jee" <maanjee@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: PHP not working
Message-ID:  <MIEPLLIBMLEEABPDBIEGMEAGHHAA.fbsd@a1poweruser.com>
In-Reply-To: <4466E24E.2010908@greenmeadow.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
New in 6.1 the port group decided to change the default which
activates the include of php4/5 for apache. I agrees this was a very
stupid thing to do as it now is causing all the apache/php users to
change the way they have installed php5 in the past. It's my
understanding that php4 & php5 packages can no longer be used to
install php for apache. You have to use the port version of php4 or
php5 and first do a "make config" and select the apache option and
then do "make install".

If you think it was stupid for the ports group to change the default
in 6.1 then post a email to ports@freebsd.org and let them know how
you feel about this.

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Duane
Whitty
Sent: Sunday, May 14, 2006 3:55 AM
To: Maan Jee
Cc: freebsd-questions@freebsd.org
Subject: Re: PHP not working


Maan Jee wrote:
> Hello,
>
> I have installed Apache HTTP Server 2.20 and PHP 5. But when I
want to
> open
> index.php file in the browser instead of getting the Output Html
page,
> I get
> SAVE "index.php" file popup.
>
> What is the wrong, I have added these lines in httpd.conf
> AddType application/x- httpd-php . php
> AddType application/x- httpd-php-source . phps
Also make sure there are no spaces in .php and .phps in the above
lines

--Duane
>
> Thanks
>
> vj
_______________________________________________
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?MIEPLLIBMLEEABPDBIEGMEAGHHAA.fbsd>