Greetings! First of all, I'd like to say "thanks" to Alvaro and community - you're doing a big and great job, thanks! Cherokee is the best webserver and recently I became as a big fan of it. But I'm a bit worried about why he is not so popular, but this is the other topic for discussion..
Now, I do a some highload web projects and want to build it only with Cherokee. And I also wanna move out all legacy project from 'apache-like' configurations to Cherokee, and **leisurely do it ;) Generally, all the problems relate with existing settings on other web-servers and especially apache, and you have to do some tricks and modification, so this staff will work fine on the new area too.. I have a first my question here, in the list. - How can I set a custom PHP variables* *in the virtual hosts? For example, I need to set these one: php_value include_path "/tmp" php_flag display_errors on php_value error_reporting 2047 php_value track_errors true And I guess, it possible to do here - Virtual Servers -> 'nickname' -> Behavior -> target php (created before) -> Handler -> -> *Custom environment variables* and I did some changes here, in the config it looks like : -- vserver!20!rule!700!disabled = 0 vserver!20!rule!700!handler = fcgi vserver!20!rule!700!handler!env!php_flag display_errors = on vserver!20!rule!700!handler!env!php_value error_reporting = 2047 vserver!20!rule!700!handler!env!php_value include_path = "/tmp" vserver!20!rule!700!handler!env!php_value track_errors = true vserver!20!rule!700!handler!error_handler = 1 vserver!20!rule!700!match = extensions vserver!20!rule!700!match!extensions = php vserver!20!rule!700!match!final = 1 vserver!20!rule!700!no_log = 0 -- But it's doesn't work. Only if I make changes in the php.ini sense it. Any help would be appreciated, Thanks. -- Serg Smirnov email/xmpp: [email protected] Stephen Leacock<http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html> - "I detest life-insurance agents: they always argue that I shall some day die, which is not so."
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
