Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2012 13:02:02 -0700
From:      "Peter" <fbsdq@peterk.org>
To:        "alexus" <alexus@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD9 + PHP
Message-ID:  <aef8c5199b6d01d3fc5d21ac120574a7.squirrel@pop.pknet.net>
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
> 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


]Peter[




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