Announcement

Collapse
No announcement yet.

which mbstring line should I enable in php.ini in production using wampserver?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • which mbstring line should I enable in php.ini in production using wampserver?

    launching my first small test project as scriptcase evaluation I have two problems

    first was "Deprecated", reading some php help pages I found to solve ebaling one line on php.ini

    two, now have other message error "El servidor PHP debe tener la extensión mbstring habilitada. Contacte con soporte técnico"

    php server should be enabled the mbstring extension,

    mbstring extension is enabled, (click on wampserver icon, php, php extensions, mbstring is chequed.

    but editing the php.ini file I can see some mbstring lines, WICH IS THE CORRECT LINE TO ENABLE THE CORRECT MBSTRING EXTENSION ?

    [mbstring]
    ; language for internal character representation.
    ; http://php.net/mbstring.language
    ;mbstring.language = Japanese

    ; internal/script encoding.
    ; Some encoding cannot work as internal encoding.
    ; (e.g. SJIS, BIG5, ISO-2022-*)
    ; http://php.net/mbstring.internal-encoding
    ;mbstring.internal_encoding = EUC-JP

    ; http input encoding.
    ; http://php.net/mbstring.http-input
    ;mbstring.http_input = auto

    ; http output encoding. mb_output_handler must be
    ; registered as output buffer to function
    ; http://php.net/mbstring.http-output
    ;mbstring.http_output = SJIS

    ; enable automatic encoding translation according to
    ; mbstring.internal_encoding setting. Input chars are
    ; converted to internal encoding by setting this to On.
    ; Note: Do _not_ use automatic encoding translation for
    ; portable libs/applications.
    ; http://php.net/mbstring.encoding-translation
    ;mbstring.encoding_translation = Off

    ; automatic encoding detection order.
    ; auto means
    ; http://php.net/mbstring.detect-order
    ;mbstring.detect_order = auto

    ; substitute_character used when character cannot be converted
    ; one from another
    ; http://php.net/mbstring.substitute-character
    ;mbstring.substitute_character = none;

    ; overload(replace) single byte functions by mbstring functions.
    ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ; etc. Possible values are 0,1,2,4 or combination of them.
    ; For example, 7 for overload everything.
    ; 0: No overload
    ; 1: Overload mail() function
    ; 2: Overload str*() functions
    ; 4: Overload ereg*() functions
    ; http://php.net/mbstring.func-overload
    ;mbstring.func_overload = 0

    ; enable strict encoding detection.
    ;mbstring.strict_detection = Off

    ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ; is activated.
    ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml+xml)
    ;mbstring.http_output_conv_mimetype=

    ; Allows to set script encoding. Only affects if PHP is compiled with --enable-zend-multibyte
    ; Default: ""
    ;mbstring.script_encoding=

  • #2
    Re: which mbstring line should I enable in php.ini in production using wampserver?

    In looking at my PHP.INI, all of these are commented out as well. I believe these are just extra settings and does not determine if mbstring is installed.

    Since you are using wampserver, what is your OS?

    Regards,
    Scott.

    Comment


    • #3
      Re: which mbstring line should I enable in php.ini in production using wampserver?

      If you look at phpinfo(), is mbstring listed as installed?

      <?php
      phpinfo();
      ?>

      Regards,
      Scott

      Comment


      • #4
        Re: which mbstring line should I enable in php.ini in production using wampserver?

        Hi Friends,

        I resolve my multiple problems in production server (Deprecated, mbstring, etc. etc.)
        Windows 2003 Server in VPSLand.com

        I re-install Wampserver 2 normaly

        Then I downgrade PHP with Wampserver Add-On php 5.2.11

        Restart my Wampserver

        And all problems are resolved now !!

        Aquiles

        Comment

        Working...
        X