Subject: php fcgi problem
To: None <netbsd-help@NetBSD.org>
From: Terry <terry@bluelight.org.uk>
List: netbsd-help
Date: 05/01/2006 10:13:31
This is a multi-part message in MIME format.
--------------050907030902010108060200
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi i have tried to install php with fcgi.
In mk.conf i have the options i need and in pkgsrc/www/php4 if i do
cp: {26} make show-options
Any of the following general options may be selected:
inet6 Enable support for IPv6.
ssl Enable SSL support.
Exactly one of the following sapi options is required:
cgi
fastcgi Use FastCGI as the CGI manager.
These options are enabled by default:
cgi ssl
These options are currently enabled:
fastcgi inet6 ssl
So that looks fine. If then try to start lighttpd its says
---------------------------------------------------------
2006-05-01 11:11:00: (mod_fastcgi.c.1055) if you try do run PHP as
FastCGI backend make sure you use the Fast
CGI enabled version.
You can find out if it is the right one by executing 'php -v' and it
should display '(cgi-fcgi)' in the outpu
t, NOT (cgi) NOR (cli)
----------------------------------------------------------
If i do php -v thats says
-------------------------------------------------
cp: {28} php -v
PHP 4.4.2 (cli) (built: May 1 2006 11:04:12)
-------------------------------------------------
Which looks wrong according to lighty. I have reinstalled a few times
also its the same with php5
Thanks
--------------050907030902010108060200
Content-Type: text/x-vcard; charset=utf-8;
name="terry.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="terry.vcf"
begin:vcard
fn:Terry Danter
n:Danter;Terry
email;internet:terry@bluelight.org.uk
x-mozilla-html:FALSE
version:2.1
end:vcard
--------------050907030902010108060200--