Subject: Re: cannot enable fast-cgi lang/php5
To: None <>
From: dixie <>
List: tech-pkg
Date: 12/23/2005 17:23:10 wrote:

>On Fri, Dec 23, 2005 at 04:38:01PM +0100, dixie wrote:
>>The point is that defining PKG_OPTIONS.php as "fastcgi" or either
>>leaving the default "cgi" results in php being built as (cli) and not as
>I can't reproduce this. It is building php with FastCGI support
>correctly. What exactly did you use to set the option?
I used "# setenv PKG_OPTIONS.php fastcgi" resulting in:

===> Extracting for php-5.1.1nb2
The supported build options for this package are:

        cgi fastcgi inet6 ssl

The currently selected options are:

        fastcgi inet6 ssl

You can select which build options to use by setting
or the following variable.  Its current value is shown:

        PKG_OPTIONS.php = fastcgi

Deprecated variable USE_INET6 set to YES, use


Once installed giving php -v it shows:

PHP 5.1.1 (cli) (built: Dec 23 2005 16:52:56)
Copyright (c) 1997-2005 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies

Anyway www/lighttpd wants --fast-cgi to be set and also
--enable-force-cgi-redirect as configure options, which in
pkgsrc are
handled by two different variables.

Thank you for the fast response :)


I'm here only to improve my Inglisc.