FreeBSD9 + PHP

Peter fbsdq at
Mon Jan 9 20:02:04 UTC 2012

> 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
> --

I don't think the package has the apache module by default:
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


More information about the freebsd-questions mailing list