Subject: can't get php using fastcgi
To: None <pkgsrc-users@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: pkgsrc-users
Date: 04/23/2006 00:13:51
--OzxllxdKGCiKxUZM
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline

Hi,

because I'm trying lighttpd, I have to build php with fastcgi support.
I have set my mk.conf as follow:
	PKG_OPTIONS.php=                -cgi fastcgi ssl
I then rebuild www/php4.
lighttp says my php does not have support for fastcgi.
When I run php, I can see:
************************************************************************
# php -v
PHP 4.4.2 (cli) (built: Apr 22 2006 23:49:59)
************************************************************************
which indicates I'm not using fastcgi, correct ?

But php_version indicates a configure command that should have worked:
************************************************************************
Configure Command =>  './configure' '--without-mysql' '--without-iconv'
'--disable-posix' '--with-config-file-path=/usr/pkg/etc'
'--with-exec-dir=/usr/pkg/libexec/php4' '--with-regex=system'
'--enable-memory-limit' '--enable-track-vars' '--disable-ipv6'
'--with-openssl=/usr' '--enable-fastcgi' '--prefix=/usr/pkg'
'--host=i386--netbsdelf' '--mandir=/usr/pkg/man'
************************************************************************

anyone can help enabling fastcgi into php ?

TIA,
	Jo

PS: OS is NetBSD/xen 3.0_STABLE and pkgsrc-2006Q1

--OzxllxdKGCiKxUZM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)

iD8DBQFESqqf0/VH7L7F7Y4RAuaXAJ4hISy7p3RPMeO81tMP3nOJ8JcIgQCeMipI
LQLGKn9JdZ4NucLP1MiS+0A=
=Xqs/
-----END PGP SIGNATURE-----

--OzxllxdKGCiKxUZM--