Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2012 16:38:14 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        alexus <alexus@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD9 + PHP
Message-ID:  <CAAdA2WNMzf6FDz_RvtF91c=BcsETUeXUavfDuhhigRVQ0KaXXQ@mail.gmail.com>
In-Reply-To: <CAJxePNJcTh0QZfr_YOLwN-R1nOrdJETxgMPPm78S35MAsipsug@mail.gmail.com>
References:  <CAJxePNJcTh0QZfr_YOLwN-R1nOrdJETxgMPPm78S35MAsipsug@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--0015174c3fe4ef338c04b62ca2ee
Content-Type: text/plain; charset=UTF-8

On Mon, Jan 9, 2012 at 22:52, alexus <alexus@gmail.com> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WNMzf6FDz_RvtF91c=BcsETUeXUavfDuhhigRVQ0KaXXQ>