berVi wrote:

> I'd like to use php with cgi (fastcgi is not working yet afaik).

  I'll be soon.. pretty soon! :-)

> I installed php4-core from ports (OpenBSD 3.8), this is
> php4-core-4.4.0. Type php -v:
>
> PHP 4.4.0 (cli).

  You are using the wrong PHP interpreter. Its SAPI is cli (command
  line interface) but, what you need for Cherokee is the "cgi" one.
  This is the right one:

====
$ /usr/lib/cgi-bin/php -v
PHP 4.4.2-1 (cgi-fcgi) (built: Jan 18 2006 12:31:21)
====

> And anyway, which version of php is recommended to use, php4 or
> php5? I would like to install it from ports if possible (not from
> source).

  It depends on the software you want execute.  Cherokee will work
  with both of them :-)

-- 
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee

Reply via email to