hi thanks again for your fast answer

I installed and configured cherokee on my ubuntu machine there it cans read php.

after this i check the cherokee.conf of my ubuntu machine and my target

i didnt replace the cherokee.conf of my ubuntu machine for my target, for the 
reason that you giveme "some paths are differents".

So instead of this i added the lines that i consider its the php configuration:

i think this are the lines:

# AƱadida por mi##########################
vserver!1!rule!6!disabled = 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!error_handler = 1
vserver!1!rule!6!match = extensions
vserver!1!rule!6!match!extensions = php
vserver!1!rule!6!match!final = 1
vserver!1!rule!6!timeout = 30
#########################################

# Tambien ############################
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 = /usr/bin/php-cgi -b 127.0.0.1:47990
source!1!nick = PHP Interpreter
source!1!type = interpreter
#######################################

(correct me if i am wrong)

but when i ran cherokee appearsme this mistake:

source_interpreter.c:341 -could not find interpreter 'usr/bin/php-cgi -b 
127.0.0.1:47990'

so do i have to made a cross compilation of php interpreter too and fix this 
line: source!1!interpreter = /usr/bin/php-cgi -b 127.0.0.1:47990?

or only fix the line??

Thanks!!

> Subject: Re: [Cherokee] enable php after cross compile
> From: [email protected]
> Date: Thu, 10 Jun 2010 18:06:00 +0200
> CC: [email protected]; [email protected]
> To: [email protected]
> 
> On 10/06/2010, at 16:29, andres felipe tamayo cortes wrote:
> 
> > i made a crosscompile of Cherokee, my cherokee it now running on embbeded 
> > system (mini2440), but cherokee admin doesntwork, my question its how can i 
> > put to work php on Cherokee.
> 
> Well, you can configure it on your regular desktop, copy the configuration 
> file (/etc/cherokee/cherokee.conf) to the embedded. If there were different 
> paths in the target host, you could modify the configuration file by hand 
> then.
> 
> --
> Octality
> http://www.octality.com/
> 
                                          
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to