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@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Roy Smith Sent: Monday, 12 November 2007 10:15 AM To: support@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@panix.com
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@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Roy Smith *Sent:* Monday, 12 November 2007 10:15 AM *To:* support@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@panix.com <mailto:roy@panix.com>
-- Bill Fitzgerald http://www.funnymonkey.com Tools for Teachers 503.897.7160
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@drupal.org [mailto:support- bounces@drupal.org] *On Behalf Of *Roy Smith *Sent:* Monday, 12 November 2007 10:15 AM *To:* support@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@panix.com <mailto:roy@panix.com>
-- Bill Fitzgerald http://www.funnymonkey.com Tools for Teachers 503.897.7160
-- [ Drupal support list | http://lists.drupal.org/ ]
-- roy@panix.com
Quoting Mark Mcdonald <mmcdonald@staff.iinet.net.au>:
To add a php.ini setting into the .htaccess file add a line like this:
php_flag setting value
I that that was php_value setting value Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
participants (4)
-
Bill Fitzgerald -
Earnie Boyd -
Mark Mcdonald -
Roy Smith