Op 9-1-2012 21:02, alexus schreef:
there is no way to make it like that? so it has to be build via ports?

On Mon, Jan 9, 2012 at 3:02 PM, Peter<fb...@peterk.org>  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

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

Yes there is no other way. Personally I find this unchecking rather weird. To me apache/PHP are a happily married couple. It makes building a webserver on packages only *not* possible and that's stupid imo.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to