ispconfig3 overwrite mbstring for host

Discussion in 'Installation/Configuration' started by sygram, Jul 20, 2010.

  1. sygram

    sygram New Member

    Hi,

    i have to use mbstring for one of my hosts. I enabled it in php.ini but phpmyadmin complains that it will create problems. So i kept the defaults there and tried to enable it only for my host. So i tried 2 ways.

    1) Went to ispconfig -> sites -> selected site -> Options and added :

    php_admin_flag file_uploads On
    php_admin_value mbstring.internal_encoding UTF-8
    php_admin_flag mbstring.encoding_translation On
    php_admin_value mbstring.func_overload 7

    2) placed the above values to .htaccess

    i also used php_value without admin.

    Unfortunately my phpinfo page displays that the mbstring values are not set. so the php application does not run properly.

    Any ideas how to overcome this and set it per host (debian lenny 64) ?

    Thank you very much

    Best Regards
     
    Last edited: Jul 20, 2010
  2. sygram

    sygram New Member

    In case someone else faces the same problem, the issue was caused by the use of php fast-cgi. We decided to use mod_php and values are overwritten properly. I am sure in case of fast-cgi these values would have to be overwritten differently, perhaps not supported currently from ispconfig 3.

    Thanks
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    php_admin_flag and php_admin_value are functions of the mod_php module and not general functions of the php programming language. So these functions work only in mod_php. This has nothing to do with ispconfig, please see php manual for details on how to override settings in different php modes.
     

Share This Page