El mar, 15-01-2008 a las 22:36 +0100, Alvaro Lopez Ortega escribió: > That is a very good question, actually. My first idea would be to run > more than one FastCGI PHP interpreter with different configurations in > different ports and then tell Cherokee which one to use in each case. > > Can someone think of a better approach for this kind of set up?
We use it that way and works just fine. We define the PHP handler separately for each virtual host, using a different listen port when using FastCGI and setting PHPRC environment variable to make each vhost load its own php.ini. I can't recall right now if PHPRC is also used when not running PHP in FastCGI mode. This approach also allows us to have each PHP fastcgi daemon running with its own uid/guid (different for each vhost). Best regards, -- Alberto Caso Palomino Adaptia - http://www.adaptia.es [EMAIL PROTECTED] _______________________________________________ Cherokee mailing list [email protected] http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
