Hello,
This question is by no way related to Dathorn apart from that I don't know another place where I can quickly get a competent reply
I am currently trying to offload a very busy CentOS 5.1 / Apache 2.2 / PHP 5.1.6 (ISAPI) webserver with dozens of Tbs of traffic per month. My plan is to switch to nginx + PHP-FCGI. I have set up nginx, then borrowed spawn-fcgi from lighty... Everything works fine so far.
BUT, I used to have per-vhost mbstring configuration! This is necessary because PHP 5.1.6 still does not have native Unicode support. I could turn mbstring on system-wide, but that would break phpMyAdmin and other badly designed applications. So I need to turn it on only for specific subdomains.
I see no way I can implement per-vhost mbstring configuration in my case. ini_set does not seem to work either. I know that at Dathorn (at least for PHP 4.x) PHP used to pick custom php.ini in the current folder and it worked recursively.
Could anybody offer me a piece of advice on how to implement such configuration?
This question is by no way related to Dathorn apart from that I don't know another place where I can quickly get a competent reply
I am currently trying to offload a very busy CentOS 5.1 / Apache 2.2 / PHP 5.1.6 (ISAPI) webserver with dozens of Tbs of traffic per month. My plan is to switch to nginx + PHP-FCGI. I have set up nginx, then borrowed spawn-fcgi from lighty... Everything works fine so far.BUT, I used to have per-vhost mbstring configuration! This is necessary because PHP 5.1.6 still does not have native Unicode support. I could turn mbstring on system-wide, but that would break phpMyAdmin and other badly designed applications. So I need to turn it on only for specific subdomains.
I see no way I can implement per-vhost mbstring configuration in my case. ini_set does not seem to work either. I know that at Dathorn (at least for PHP 4.x) PHP used to pick custom php.ini in the current folder and it worked recursively.
Could anybody offer me a piece of advice on how to implement such configuration?
Comment