From owner-freebsd-questions@FreeBSD.ORG Mon Jan 9 20:02:58 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 C9597106564A for ; Mon, 9 Jan 2012 20:02:58 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5A3A48FC1A for ; Mon, 9 Jan 2012 20:02:58 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so4471518wib.13 for ; Mon, 09 Jan 2012 12:02:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=nafjiXt8GNRlRskQQlYTk9scq7FaS+6ZObspvYM63xE=; b=ULUgq6SlZ13RpuriPjNL8egVVSCrH56GkAZ3o4gLXTGX+KqPW9u7UWEWJfOKxrDb1Z 6zr0bTGgCguMM6Nhy/2bSgCJMcipnG2OQclmXxU/gtEZvl9o2bdJA/08+Xih3XiVezTe RxXX5mxd+Q1yxb2oDFo69teyyl4g/9QptAGW0= MIME-Version: 1.0 Received: by 10.180.83.69 with SMTP id o5mr30860798wiy.1.1326139377333; Mon, 09 Jan 2012 12:02:57 -0800 (PST) Received: by 10.180.94.101 with HTTP; Mon, 9 Jan 2012 12:02:57 -0800 (PST) In-Reply-To: References: Date: Mon, 9 Jan 2012 15:02:57 -0500 Message-ID: From: alexus To: Peter Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org 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: Mon, 09 Jan 2012 20:02:58 -0000 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 =C2=A0 =C2=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 =C2=A0 =C2=A0 =C2=A0 =C2=A0Build CGI version > > > ]Peter[ > --=20 http://alexus.org/