On 11/01/2011, at 23:06, Dale wrote: > I am currently seeing 5 php-cgi children + 1 php-cgi process as the session > leader being spawned. I would assume the max requests is operating at the > default of 500. What is the prescribed method of controlling the > PHP_FCGI_xxxx environment variables while running under Cherokee?
You set the PHP_FCGI_CHILDREN value according to your needs. The more children the better your server will be able to execute PHP scripts. Remember, though, that each one of them will allocate resources. You may want to check the newer php-fpm. It's a new, more scalable implementation of php-cgi. > Under a single vServer I can go to the Behavior and select the "Extensions > php" that was setup by the PHP Wizard. From here under the Handler tab I can > add environment variables. In a server with several vServers would I need to > go in to each one and set those Env Vars? Since all vServers point to a > single Information Source what is the effect of having these Env Vars > declared separately in each vServer's "Extension PHP" FCGI Handler? 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. -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
