From owner-freebsd-questions@FreeBSD.ORG Tue Jan 10 11:02:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F8951065672 for ; Tue, 10 Jan 2012 11:02:42 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from smtpq4.tb.mail.iss.as9143.net (smtpq4.tb.mail.iss.as9143.net [212.54.42.167]) by mx1.freebsd.org (Postfix) with ESMTP id EC8C38FC22 for ; Tue, 10 Jan 2012 11:02:41 +0000 (UTC) Received: from [212.54.42.134] (helo=smtp3.tb.mail.iss.as9143.net) by smtpq4.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1RkYda-0003XX-Rv for freebsd-questions@freebsd.org; Tue, 10 Jan 2012 11:09:02 +0100 Received: from 524944af.cm-4-2b.dynamic.ziggo.nl ([82.73.68.175] helo=mail.nagual.nl) by smtp3.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1RkYda-0007jR-8p for freebsd-questions@freebsd.org; Tue, 10 Jan 2012 11:09:02 +0100 Received: from [192.168.11.34] (192.168.11.34) by yanta (Axigen) with (CAMELLIA256-SHA encrypted) ESMTPSA id 16441B; Tue, 10 Jan 2012 11:12:51 +0100 Message-ID: <4F0C0E3D.7010906@nagual.nl> Date: Tue, 10 Jan 2012 11:09:01 +0100 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 X-Ziggo-spambar: +++ X-Ziggo-spamscore: 3.6 X-Ziggo-spamreport: BAYES_50=0.8, CM_META_TB_NOARR=0.5, FH_HOST_EQ_D_D_D_D=0.665, HELO_MISC_IP=0.001, KHOP_DYNAMIC=0.657, RDNS_DYNAMIC=0.982 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No Subject: Re: FreeBSD9 + PHP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2012 11:02:42 -0000 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 wrote: >>> 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 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 Build 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 webserver on packages only *not* possible and that's stupid imo.