From owner-freebsd-questions@FreeBSD.ORG Tue Jan 10 14:10:12 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 B15871065670 for ; Tue, 10 Jan 2012 14:10:12 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3E30E8FC0C for ; Tue, 10 Jan 2012 14:10:12 +0000 (UTC) Received: by eaan12 with SMTP id n12so301248eaa.13 for ; Tue, 10 Jan 2012 06:10:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=cdCRzeYz1b1Q07rzVmWAseC1lBtEQsixlQwWz2WcAvM=; b=O4/0tPuB/J+y8v6v492nZ+gt/fwgj6JbvO1ou8/onFpUQo+CDkxT8IB2Zb4LGGxgm+ e9N9EKsOcj2mNVIuJ4bHd7fXIZqpIfgI/Tyerj2FpB6pEesZolKozEhlrNFSG38UkTt1 WEUw4c5UUxL9NbD3wmJ5IwmTj/NYHFa6afCts= Received: by 10.213.34.135 with SMTP id l7mr4111423ebd.42.1326202735243; Tue, 10 Jan 2012 05:38:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.114.68 with HTTP; Tue, 10 Jan 2012 05:38:14 -0800 (PST) In-Reply-To: References: From: Odhiambo Washington Date: Tue, 10 Jan 2012 16:38:14 +0300 Message-ID: To: alexus Content-Type: multipart/related; boundary=0015174c3fe4ef338c04b62ca2ee X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Tue, 10 Jan 2012 14:10:12 -0000 --0015174c3fe4ef338c04b62ca2ee Content-Type: text/plain; charset=UTF-8 On Mon, Jan 9, 2012 at 22:52, alexus 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 > > `grep php /usr/local/etc/apache22/httpd.conf ` [wash@jaribu ~]$ grep php /usr/local/etc/apache22/httpd.conf LoadModule php5_module libexec/apache22/libphp5.so DirectoryIndex index.php index.php3 index.html index.htm index.shtml index.phtml index.inc index.pl index.cgi index.jsp index.txt AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps The last two lines are very important. However, I seriously doubt this documentation that you read, as it lied to you so badly. Which one is it?? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. --0015174c3fe4ef338c04b62ca2ee--