From owner-freebsd-questions@FreeBSD.ORG Mon Jan 9 20:02:04 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 19ADB106567B for ; Mon, 9 Jan 2012 20:02:04 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from poshta.pknet.net (poshta.pknet.net [216.241.167.213]) by mx1.freebsd.org (Postfix) with ESMTP id D045C8FC13 for ; Mon, 9 Jan 2012 20:02:03 +0000 (UTC) Received: (qmail 71381 invoked by uid 89); 9 Jan 2012 20:02:02 -0000 Received: from localhost (HELO pop.pknet.net) (127.0.0.1) by poshta.pknet.net with ESMTP; 9 Jan 2012 20:02:02 -0000 Received: from 74.63.162.21 (SquirrelMail authenticated user fbsdq@peterk.org) by pop.pknet.net with HTTP; Mon, 9 Jan 2012 13:02:02 -0700 Message-ID: In-Reply-To: References: Date: Mon, 9 Jan 2012 13:02:02 -0700 From: "Peter" To: "alexus" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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:04 -0000 > 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 ]Peter[