yokoy wrote:
> yes, I've read the document but I don't want to use a different php
> interpreter for different php-versions.
>
> in sites-availible/defaults
>
> Extension php, php3, php4, php5 {
> Handler phpcgi
> }
>
> is ok, I think.
>
> it should load /usr/lib/cgi-bin/php (?)
I am not sure of this. In that way, it will fail by default, and
that is not the experience that new users expect.
I think it is a good idea to add a some code to the handler in order
to check some paths on the start up. It will solve the problem
without making the server slower.
> /usr/lib/cgi-bin/php is a symlink to /etc/alternatives/php-cgi-bin
> and
> /etc/alternatives/php-cgi-bin is a symlink to /usr/lib/cgi-bin/php5
>
> why I have to copy php5 to php4?
You don't need to copy it.. just configure it like this, it should
work for you:
====
Extension php, php3, php4, php5 {
Handler phpcgi {
Interpreter /usr/lib/cgi-bin/php5
}
}
====
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee