On 10-sep-09, at 17:25, Juan José Amor wrote:

>> Is PHP configured to use TCP or a Unix Socket? The preferred way is  
>> to
>> use a TCP port. Please, check your information sources and ensure  
>> that
>> PHP used "-b PORT" rather than "-b /PATH".
>
> This is very very important! I did not know it, but this was the
> solution for a cherokee 0.99.22 which never called PHP binary until I
> replaced Unix socket with TCP port.
>
> I don't know why, but this caused me this error: on a server (a
> Opensolaris 2009.06 zone) the cherokee server with PHP (as fastcgi)
> using a unix socket worked perfectly. But in another server (another
> zone cloned from the first one) the PHP calls never worked until I
> replaced unix socket with a TCP port. The behaviour was completely
> strange: when tried to invoke a .php file, the cherokee server called
> panic without trying to exec the interpreter. I never knew the  
> reason of
> these panics, but were resolved by using TCP port instead of Unix  
> socket...


We re-implemented the interpreter spawning mechanism on Cherokee  
0.99.23. The new launcher is much better than the previous one,  
although it's highly recommended to run PHP on a TCP port anyway.

Actually, I believe Cherokee isn't the one to blame about this 'PHP on  
a Unix socket' issue; but that doesn't matter.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to