Drupal requires mbstring disabled
If you receive this error message when
attempting a new Drupal Install, there is a way to rectify the settings
so you can proceed with an install.
Error Message:
**Multibyte string input conversion in PHP is active and must be
disabled. Check the php.ini mbstring.http_input setting. Please refer
to the PHP mbstring documentation for more information.**
There are 2 different methods which you can use here.
1. Involves placing couple lines of code in your sites .htaccess file.
php_value mbstring.http_input pass
php_value mbstring.http_output pass
2. The second method is adding 2 lines of code into the
default.settings.php file, which is located in:
/hsphere/local/home/usernamehere/domain.com/sites/default/default.settings.php
on line number #254.
You will see settings like this in the default.settings.php file:
ini_set('session.gc_probability', 1);
ini_set('session.gc_divisor', 100);
ini_set('session.gc_maxlifetime', 200000);
ini_set('session.cookie_lifetime', 2000000);
You will want to place the code right under these ini_set variables to look like this:
ini_set('session.gc_probability', 1);
ini_set('session.gc_divisor', 100);
ini_set('session.gc_maxlifetime', 200000);
ini_set('session.cookie_lifetime', 2000000);
ini_set('mbstring.http_input', 'pass');
ini_set('mbstring.http_output', 'pass');
Related Articles
phpBB installation - reports that mbstring settings are incorrect
During phpBB install, the requirements screen reports the following: HTTP input character conversion: mbstring.http_input must be set to pass. No HTTP output character conversion: mbstring.http_output must be set to pass. No Add the following to an ...
PCLZIP_ERR_BAD_FORMAT (-10)
If you get a PCLZIP_ERR_BAD_FORMAT (-10) error in hsphere webshell or other wise, set following in .htaccess or php.ini: mbstring.internal_encoding = "ISO-8859-1"
New Access Management User setup on Windows 2008 / 2008r2
In order to manage your GDPR compliant access to Windows 2008 You will need to create 1) Login to your accounts.cartika.com account 2) Select your access management service (customers with managed infrastructure in both the US and CAD will have two) ...
New Access Management User setup on Linux
1) Login to your accounts.cartika.com account 2) Select your access management service (customers with managed infrastructure in both the US and CAD will have two) 3) Navigate to Login to SolidCP -> Click Login 4) Click on Users under your Hosted ...
PHP script outputs Notice (8): Undefined variable: errstr
PROBLEM ======== PHP script throws the following error: Notice (8): Undefined variable: errstr RESOLUTION ========== Contact Technical Support to review php.ini settings to see if socket functions are disabled on the server.