Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2012 09:09:45 -0500
From:      Alejandro Imass <ait@p2ee.org>
To:        Dick Hoogendijk <dick@nagual.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD9 + PHP
Message-ID:  <CAHieY7Ty_4_wziq217Y7pAAzGTZOX-0EY%2Bf4J-bgF5_RtCyD4w@mail.gmail.com>
In-Reply-To: <4F0C0E3D.7010906@nagual.nl>
References:  <CAJxePNJcTh0QZfr_YOLwN-R1nOrdJETxgMPPm78S35MAsipsug@mail.gmail.com> <aef8c5199b6d01d3fc5d21ac120574a7.squirrel@pop.pknet.net> <CAJxePN%2BGKorAeHCh0HRfUqwAOJ-x%2B_xtPiHk_XDuRAmJWYdgoQ@mail.gmail.com> <4F0C0E3D.7010906@nagual.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 10, 2012 at 5:09 AM, Dick Hoogendijk <dick@nagual.nl> wrote:
> Op 9-1-2012 21:02, alexus schreef:
>>
>> there is no way to make it like that? so it has to be build via ports?
>>
>> On Mon, Jan 9, 2012 at 3:02 PM, Peter<fbsdq@peterk.org> =A0wrote:
>>>>
>>>> I created a jail and within a jail I did
>>>>
>>>> pkg_add -r apache22
>>>> pkg_add -r php5
>>>>
>>>> now I have apache and php, but whenever I'm trying to hit phpinfo.php,
>>>> I see source code... I dont think php5 added inside of apache22
>>>>
>>>> --
>>>> http://alexus.org/
>>>
>>> I don't think the package has the apache module by default:
>>> pkbsd:#pwd
>>> /usr/ports/lang/php5
>>> pkbsd:#make config
>>> [ ] APACHE =A0 =A0 Build Apache module
>>>
>>> That is unchecked. You'll have to select that and build the port.
>>> ...Or you can use the CGI version which is included in the package:
>>> [*] CGI =A0 =A0 =A0 =A0Build CGI version
>>>
> Yes there is no other way. Personally I find this unchecking rather weird=
.
> To me apache/PHP are a happily married couple. It makes building a webser=
ver
> on packages only *not* possible and that's stupid imo.
>

+1
I second you again here!

I've read in some PHP forums to stay away from Apache and mod_php and
to use FCGI instead. Maybe this is a trend in the PHP community, but I
couldn't care less because IMO it hurts FBSD in the long run, not to
have the module built by default.

--=20
Alejandro Imass



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHieY7Ty_4_wziq217Y7pAAzGTZOX-0EY%2Bf4J-bgF5_RtCyD4w>