im on linux ubuntu 9.1.

i tested php. I compied my php compiled files to: /home of my target machine 
and after that i modified the cherokee.conf i added the following 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
#########################################


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


but when i tested a page.php appears me this:

503 Service Unavailable

what could be wrong?  do i have to configurate something else on cherokee.conf 
file? or did i make a wrong compilation of php

> Subject: RE: [Cherokee] enable php after cross compile
> From: [email protected]
> To: [email protected]
> Date: Thu, 17 Jun 2010 17:53:36 +0100
> 
> I believe it's a shell problem.
> 
> What kind of *nix system is that? Linux? BSD?
> 
> Check the first line of /home/felipe/Escritorio/php-5.2.10/sapi/cli/php.
> It will point you to the right shell.
> 
> Cheers,
> 
> Juanjo
> 
> El jue, 17-06-2010 a las 11:36 -0500, andres felipe tamayo cortes
> escribió:
> > thanks for the help, would you like to see the configure lines? maybe
> > there could be the problem
> > 
> > > Subject: Re: [Cherokee] enable php after cross compile
> > > From: [email protected]
> > > To: [email protected]
> > > CC: [email protected]; [email protected]
> > > Date: Thu, 17 Jun 2010 18:00:18 +0200
> > > 
> > > El jue, 17-06-2010 a las 10:51 -0500, andres felipe tamayo cortes
> > > escribió:
> > > > [...]
> > > > 
> > > > did i made a bad compilation? =(
> > > > i want to be sure about this before configure my cherokee web
> > server
> > > 
> > > I run the PHP tests once in OpenBSD, and they passed OK. 
> > > 
> > > The fact it compiles just mean that: it compiles. The result depends
> > on
> > > your configuration line, BUT this error sounds to me like a BASH
> > error
> > > and not a PHP error.
> > > 
> > > So I would check my environment to see if it meets the testing
> > > requirements.
> > > 
> > > Cheers,
> > > 
> > > Juanjo
> > > 
> > > -- 
> > > jjm's home: http://www.usebox.net/jjm/
> > > blackshell: http://blackshell.usebox.net/
> > > ramble on: http://rambleon.usebox.net/
> > > 
> > 
> > 
> > ______________________________________________________________________
> > Connect to the next generation of MSN Messenger  Get it now! 
> 
> -- 
> jjm's home: http://www.usebox.net/jjm/
> blackshell: http://blackshell.usebox.net/
>  ramble on: http://rambleon.usebox.net/
> 
> 
                                          
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to