On 13/01/2011, at 01:25, Dale wrote: > 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
It is possible, although there is no need to do that. You can define custom environment variables for the Information Source and call the binary directly. > 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' I do not think this would work. > 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? Of course there is a way to set those environment variables from Cherokee-admin. Go to 'Information Sources', click the one you wan to edit in the left hand-side panel. The environment variables can be found at the button of the page. -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
