On Wed, Jan 12, 2011 at 3:25 PM, Alvaro Lopez Ortega
<[email protected]> wrote:
> The PHP environment variables have to be set in the Interpreter.  The 
> variables in the handler are FastCGI variables that would be sent on each 
> request.

Ah, I got it.  So custom variables in Handler are passed to whatever
individual FCGI worker gets selected to execute the request.

Part of my question was exactly how do I set these non standard
Environment Variables for the Interperter in the Information Sources
panel of the Admin.  Are any of these possible?

1. Replace the Information Sources: PHP Interperter: Interperter line
'/usr/bin/php-cgi -b 127.0.0.1:47990' with '/path/to/my-php-cgi.sh'
with something like
http://www.askapache.com/php/custom-phpini-tips-and-tricks.html#m0-askapache5

2. Can I place shell script right in that text box?  Like: 'export
PHP_FCGI_CHILDREN=3; /usr/bin/php-cgi -b 127.0.0.1:47990'

3. I've seen in the issue tracker that one can use conf settings like
'source!1!env!PHP_FCGI_MAX_REQUESTS = 2500' - is the answer here that
there is not currently a way to handle env vars for an Information
Source in the GUI, and I just have to edit the cherokee.conf manually?

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

Reply via email to