+ Reply to Thread
Results 1 to 9 of 9

Thread: Drupal Install On a Shared Server

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Posts
    1

    Default Drupal Install On a Shared Server

    I am trying to get Drupal installed on a shared server but keep running into this 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. (Currently using Unicode library Error)"

    I read all the info here: drupal.org/node/87138 and it looks like they solved it with some edits to the htaccess file. I checked mine and I have the required settings but it is still not working.

    <IfModule mod_php5.c>
    php_value magic_quotes_gpc 0
    php_value register_globals 0
    php_value session.auto_start 0
    php_value mbstring.http_input pass
    php_value mbstring.http_output pass
    php_value mbstring.encoding_translation 0
    </IfModule>


    Anybody able to install Drupal 6.1 on a shared server?

    thanks,
    Andrew

  2. #2
    Fohdnet
    Join Date
    Jan 2008
    Posts
    39

    Default

    yea, I am. the install went flawlessly. however it was a while ago, could this be something with the new php5? have they disabled 4 yet?

  3. #3
    Ray
    Ray is offline
    I can't do everything.
    Join Date
    Jun 2004
    Location
    Plymouth, WI
    Posts
    134

    Default

    Andrew,

    Make sure you have the following in the .htaccess file in order to use PHP5:

    AddType application/x-httpd-fastphp .php
    Action application/x-httpd-fastphp /php-fastcgi/php-cgi
    Ray Tetzloff


  4. #4
    Fohdnet
    Join Date
    Jan 2008
    Posts
    39

    Default

    Quote Originally Posted by Ray View Post
    Andrew,

    Make sure you have the following in the .htaccess file in order to use PHP5:


    when I add this code to the htaccess of my current drupal installation drupal gives me the error


    "Unicode library Error
    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."


    when I take the code out it runs fine

  5. #5
    Ray
    Ray is offline
    I can't do everything.
    Join Date
    Jun 2004
    Location
    Plymouth, WI
    Posts
    134

    Default

    I've just done some quick testing, and I'm seeing that problem if the two lines to use PHP 5 are in the file, but not the other ones Andrew referenced. I also got the same error having only the lines Andrew mentioned, but not the ones I did.

    The .htaccess file I'm using to test contains:

    AddType application/x-httpd-fastphp .php
    Action application/x-httpd-fastphp /php-fastcgi/php-cgi

    <IfModule mod_php5.c>
    php_value mbstring.http_input pass
    php_value mbstring.http_output pass
    php_flag register_globals off
    </IfModule>
    If you were using PHP4 previously, your .htaccess file might have an <IfModule mod_php4.c> or similar that restricts those settings to PHP5. You'd probably want to explicitly set those options for PHP5 as well.
    Ray Tetzloff


  6. #6
    Fohdnet
    Join Date
    Jan 2008
    Posts
    39

    Default

    has this been resolved? Id like to get my site moved to the litespeed server but it runs only php5 and don't want this error in ma drupalz

  7. #7
    Member
    Join Date
    Jan 2008
    Posts
    36

    Default

    I am running Drupal 5.7 and am familiar with the mbstring problem.

    This is (I think) the fix I used. It worked on Apache and continues to work on the LiteSpeed servers:

    in .htaccess, add:

    php_value mbstring.http_input pass
    php_value mbstring.http_output pass

    If that doesn't do the trick for you send me a private message to get my attention and we'll figure out what does work. I do have it working correctly.

  8. #8
    Fohdnet
    Join Date
    Jan 2008
    Posts
    39

    Default

    Quote Originally Posted by kb0kqa View Post
    I am running Drupal 5.7 and am familiar with the mbstring problem.

    This is (I think) the fix I used. It worked on Apache and continues to work on the LiteSpeed servers:

    in .htaccess, add:

    php_value mbstring.http_input pass
    php_value mbstring.http_output pass

    If that doesn't do the trick for you send me a private message to get my attention and we'll figure out what does work. I do have it working correctly.

    I also did this, and it caused some very odd errors. Specifically my phpbb forum to turn certain characters into others, and to display some odd stuff.

  9. #9
    Member
    Join Date
    Jan 2008
    Posts
    36

    Default

    Quote Originally Posted by Jon124 View Post
    I also did this, and it caused some very odd errors. Specifically my phpbb forum to turn certain characters into others, and to display some odd stuff.
    I don't run a phpbb forum with Drupal (as of yet), so I can't say how it would affect phpbb.

    You'd probably want to set it back to the defaults for phpbb.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts