Hi Marcos.
It should work out of the box. I'm not sure why it isn't.
First check that your installed php-cgi  supports fastcgi. The *fcgi* part must 
appear.

[EMAIL PROTECTED]:~/src/cherokee/trunk/doc$ php-cgi -v
PHP 5.2.4-2ubuntu5.3 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built: Jul 23 2008 
06:38:29)

If the problem is unix-socket related, ¿could you try setting it up so that it 
uses a host:port?
Simply change your 'php' information source, where it says 
Connection: 
 /tmp/cherokee-php.sock   --> localhost:1234

Interpreter: 
/usr/bin/php-cgi -b /tmp/cherokee-php.sock  ---> /usr/bin/php-cgi -b 1234

Let's see if we can crack this one ;)

Regards

On Sunday 05 October 2008 18:34:08, Marcos wrote:
> Hi,
> 
> I've just installed Cherokee and I'm now trying to setup PHP on it. I've 
> found 
> the documentation part of the cookbook that explains how to set PHP, and it 
> seems that it should be configured by default. I think it is, because I see 
> the 
> 'php' information source there.
> 
> I have installed the php5-cgi package (running Debian stable), but no 
> /tmp/cherokee-php.sock file is created after restarting the server.
> 
> If anyone can guide me through the process I'll really appreciate it :)
> 
> Thanks in advance,

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

Reply via email to