Compiling php with pecl intl support

Discussion in 'Install/Configuration' started by freeballt, Nov 23, 2011.

  1. freeballt

    freeballt New Member

    I am using PHP 5.3.8 on my server. PHP's INTL plugin is supposed to be included in the source, however "function_exists("normalizer_normalize");" fails. Any reason why?

    /usr/local/lsws/lsphp5/bin/lsphp -i | grep intl fails as well.
    Last edited: Nov 23, 2011
  2. webizen

    webizen New Member

    intl gets enabled in the bundled version (php 5.3 +) with --enable-intl when compile php.

    check if you have '--enable-intl' in compile option

    /path/to/lsphp5 -i | grep intl (e.g. /usr/local/lsws/fcgi-bin/lsphp5)

    if you don't see '--enable-intl', it is not enabled.
    Last edited: Nov 23, 2011
  3. freeballt

    freeballt New Member

    Yup, I edited my post to include that it doesn't display anything. If I understood what I've read, intl should be included by default in php 5.3.x+.

    Checked your edit. Thanks.
    Last edited: Nov 23, 2011
  4. webizen

    webizen New Member

    according to php manuel (http://www.php.net/manual/en/intl.installation.php), it is not enabled by default.

    Last edited: Nov 23, 2011

Share This Page