Skip to main content

How to disable MB String Input in cpanel 58

Comments

3 comments

  • Marcel Corzo
    Hi again. I could changed it with the value "pass". But now I get this error: "Multibyte string output conversion in PHP is active and must be disabled. Check the php.ini mbstring.http_output setting. Please refer to the PHP mbstring documentation for more information.". And that variable is not available through my c-panel. How could I change that?
    0
  • rpvw
    This used to work, but I haven't tried it for a couple of years....... You could try and add the following to your htaccess file:
    # PHP 5, Apache 1 and 2. php_flag magic_quotes_gpc off php_flag magic_quotes_sybase off php_flag register_globals off php_flag session.auto_start off php_value mbstring.http_input pass php_value mbstring.http_output pass php_flag mbstring.encoding_translation off
    If that doesn't work, I suggest you ask your web host for help in changing the PHP ini settings for your site.
    0
  • cPWilliamL
    Hi Marcel, How you go about disabling this differs depending on your PHP handler and on your EasyApache version. If using CGI or suPHP as your PHP handler, try adding the following to a `.user.ini' file in your domain's document root:
    mbstring.http_input = pass
    You should also be able to confirm via a phpinfo page to ensure the drupal theme is accurately reporting the mbstring directive settings: PHP: phpinfo - Manual
    0

Please sign in to leave a comment.