pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fastcgi and www/php4



On Wed, Oct 24, 2007 at 12:21:40PM -0500, Jeremy C. Reed wrote:
> I see if fastcgi is enabled for www/php4, then cgi option is disabled so 
> it is not built with --enable-discard-path nor 
> --enable-force-cgi-redirect.

PHP documentation used to say those two must be disabled for FastCGI.
I cannot find that now, perhaps that's no longer true or just my memory
is hazy.

> I also don't understand why it has a PKG_OPTIONS_GROUP.sapi for this since 
> it is always built with cgi (since no --disable-cgi).

CGI SAPI is indeed always built. The way this works on PHP is
that FastCGI either is or isn't enabled for CGI SAPI. It's done via
a PKG_OPTIONS_GROUP to mark that choosing one or other means slightly
different stuff (fastcgi disables above options).
 
Jaromir
-- 
Jaromir Dolecek <jdolecek%NetBSD.org@localhost>            http://www.NetBSD.cz/
-=- We can walk our road together if our goals are all the same;     -=-
-=- We can run alone and free if we pursue a different aim.          -=-

Attachment: pgpJv9Ys0cyER.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index