You could try manually spawning the fcgi-enabled PHP interpreter with:
/home/php/bin/php-cgi -b 127.0.0.1:47990

And if it can be launched, try leaving it like that and accessing a PHP file with Cherokee. I have no idea if it is a PHP problem, a problem with process spawning or something else, but it is worth a shot.

Good luck.

On 23/06/10 22:05, andres felipe tamayo cortes wrote:
Hi i have a doubt that you maybe can solve to me, i have cross compile cherokee, it works well but it dont work php i added the following lines to my cherokee.conf

vserver!1!rule!6!disabled = 0
vserver!1!rule!6!encoder!deflate = 0
vserver!1!rule!6!encoder!gzip = 1
vserver!1!rule!6!handler = fcgi
vserver!1!rule!6!handler!balancer = round_robin
vserver!1!rule!6!handler!balancer!source!1 = 1
vserver!1!rule!6!handler!change_user = 0
vserver!1!rule!6!handler!check_file = 1
vserver!1!rule!6!handler!error_handler = 1
vserver!1!rule!6!handler!pass_req_headers = 1
vserver!1!rule!6!handler!xsendfile = 0
vserver!1!rule!6!match = extensions
vserver!1!rule!6!match!extensions = php
vserver!1!rule!6!only_secure = 0
vserver!1!rule!6!match!final = 1
vserver!1!rule!6!timeout = 30

source!1!env!PHP_FCGI_CHILDREN = 5
source!1!env!PHP_FCGI_MAX_REQUESTS = 490
source!1!env_inherited = 0
source!1!host = 127.0.0.1:47990
source!1!interpreter = /home/php/bin/php-cgi -b 127.0.0.1:47990
source!1!nick = PHP Interpreter
source!1!type = interpreter

could be enought with this to have a good configuration for my cherokee cans run php?

i have been trying hard but i always have the same mistake:

503 service unavailable.

so i want to be sure that this part is good, and if it is ok then the problem should be on my php cross compilation


I hope you can helpme.

Thanks!

------------------------------------------------------------------------
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it! <http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us>


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


--
[email protected]
http://unixwars.com/

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

Reply via email to