Thanks for the tips!

2010/2/23 Juan J. <[email protected]>

> El mar, 23-02-2010 a las 14:13 +0300, Serg Smirnoff escribió:
> > Oh, yeah!
> > I'll create a dedicated Information Sources for each virtual host,
> > then modify php-fpm config to work with a custom php.ini which I can
> > put in to the customer home directory so hi can change anything hi
> > want there!
> >
> > Great deal, thanks!
>
> You can use the same wrapper for all the sources:
>
> #!/bin/sh
>
> export PHP_FCGI_MAX_REQUESTS=250
> export PHP_FCGI_CHILDREN=4
>
> exec /usr/local/bin/php-cgi $@
>
> # EOF
>
> It just calls the real php-cgi with the ENV variables to customize the
> fcgi behavior, passing the parameters along.
>
> So you can use the same wrapper, just with different -c path/php.ini
> option.
>
> Regards,
>
> Juanjo
>
> --
> jjm's home: http://www.usebox.net/jjm/
> blackshell: http://blackshell.usebox.net/
>  ramble on: http://rambleon.usebox.net/
>
>


-- 
Serg Smirnov
email/xmpp: [email protected]

Charles de 
Gaulle<http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html>
- "The better I get to know men, the more I find myself loving dogs."
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to