Alvaro Lopez Ortega wrote:

>Peter Abraham wrote:
>
>>---------------------------
>>Extension php, php4, php5 {
>>                Handler phpcgi {
>>                Interpreter /usr/bin/php5-cgi
>>                }
>>                handler fcgi {
>>                server localhost:8000 {
>>                        Env PHP_FCGI_MAX_REQUESTS "2000"
>>                        Env PHP_FCGI_CHILDREN     "20"
>>                        Interpreter "/usr/bin/php5-cgi -b
>>                        127.0.0.1:8000"
>>                        }
>>                }
>>}
>>-----------------------------------------------------------------
>
>
>  This configuration chunk is wrong. You cannot use more than one
>  handler in a single Directory, Extension or Request entry.
>
>  Actually, it's obvious that you can, but you shouldn't.  In this
>  case, the php extension can be manager by either the fcgi or the
>  phpcgi handler, but not by both of them at the same time.
>

Thank you. The chunk was rewritten and the cherokee server was
restarted. Drupal still works fine. :-) 
For the sake of the archives the correct solution:
---------------------------
Extension php, php4, php5 {
                handler fcgi {
                server localhost:8000 {
                        Env PHP_FCGI_MAX_REQUESTS "2000"
                        Env PHP_FCGI_CHILDREN     "20"
                        Interpreter "/usr/bin/php5-cgi -b
                        127.0.0.1:8000"
                        }
                }
}
----------------------------

bye

Peter
-- 
  Peter Abraham
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are

_______________________________________________
Cherokee mailing list
Cherokee@0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee

Reply via email to