I have a centOS machine with cPanel. We have compiled PHP with mb_string and it works fine. We want to disable it in all hosting accounts except one, So we have disabled it in php.ini , but want to enable it in the specific host.
I know this is possible with apache's .htaccess file. But how, and what commands? Any insights?
Thanks !
I don't think you can manipulate the extension/module itself via htaccess. Sure, you can adjust values, but the extension needs to be loaded for the values to have any effect.
Perhaps you can do with a per-user php.ini set-up?
http://www.sant-media.co.uk/2010/02/whmcpanel-per-user-php-ini-under-apache-2-x-and-suphp/
http://bibekshrestha.com.np/blogs/post/2010/02/05/using-custom-phpini-cpanel-server