FreeBSD9 + PHP
odhiambo at gmail.com
Tue Jan 10 14:10:12 UTC 2012
On Mon, Jan 9, 2012 at 22:52, alexus <alexus at 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 at 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??
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.
More information about the freebsd-questions