[support] Turning off multibyte support?
Roy Smith
roy at panix.com
Mon Nov 12 13:40:04 UTC 2007
Bill / Mark,
Thanks for your help. Putting
php_value mbstring.http_input pass
php_value mbstring.http_output pass
in .htaccess did the trick. I don't fully grok the difference
between "auto" and "pass", but this worked and "auto" didn't :-)
I'm used to working on boxes where I have full shell (and root)
access. This is the first time I've worked with a web hosting
company where everything is done through a hokey web interface. It's
been an interesting experience.
As for 5.1 vs. 5.3, I started my prototype using 5.1, and just
uploaded that to the web host. I'll take a look at upgrading to 5.3.
On Nov 12, 2007, at 1:27 AM, Bill Fitzgerald wrote:
> Hello, Roy,
>
> In your initial email, you said you had just installed 5.1 -- the
> current version is 5.3, and I strongly recommend using the most
> current
> version.
>
> RE the mbstring issue, see http://drupal.org/node/132723 and
> http://drupal.org/node/87138
>
> Cheers,
>
> Bill
>
> Mark Mcdonald wrote:
>>
>> php.ini is a global setting you probably don’t have access to however
>> you should be able to edit the .htaccess file in your drupal
>> directory.
>>
>> To add a php.ini setting into the .htaccess file add a line like
>> this:
>>
>> php_flag setting value
>>
>> For example in the php.ini file you might have a line like
>> “register_globals = off” which in a .htaccess file would look like
>> “php_flag register_globals off”.
>>
>> What you probably want to add is this:
>>
>> php_flag mbstring.http_input auto
>>
>> I’m not sure what the error you’re getting means so you might need to
>> look up the correct value from somewhere else.
>>
>> Good luck!
>>
>> Mark
>>
>> *From:* support-bounces at drupal.org [mailto:support-
>> bounces at drupal.org]
>> *On Behalf Of *Roy Smith
>> *Sent:* Monday, 12 November 2007 10:15 AM
>> *To:* support at drupal.org
>> *Subject:* [support] Turning off multibyte support?
>>
>> I just installed drupal 5.1 on a web hosting provider. When I try to
>> run install.php, I get the error:
>>
>> Incompatible environment
>>
>> The following error must be resolved before you can continue the
>> installation process:
>>
>> 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
>> <http://www.php.net/mbstring> for more information. (Currently
>> using Unicode library Error)
>>
>> It is unclear what I'm supposed to do to fix this. I don't see any
>> php.ini string anywhere in my site directory tree. I'm assuming this
>> is some system global config file (which I don't have access to).
>>
>> --
>>
>> roy at panix.com <mailto:roy at panix.com>
>>
>
>
> --
> Bill Fitzgerald
> http://www.funnymonkey.com
> Tools for Teachers
> 503.897.7160
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
--
roy at panix.com
More information about the support
mailing list