1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New Server Install PHP Fatal error: PCRE is not compiled with UTF-8 support

Discussion in 'EasyApache' started by Killers2, Feb 23, 2013.

  1. Killers2

    Killers2 New Member

    Joined:
    Jan 21, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hey,

    Just setup a new server and getting some issues with this PHP error. PCRE is indeed compiled with UTF-8 and Unicode support.

    PHP Warning: preg_match(): Compilation failed: unknown option bit(s) set at offset 0
    PHP Fatal error: PCRE is not compiled with UTF-8 support

    pcretest -C
    PCRE version 7.8 2008-09-05
    Compiled with
    UTF-8 support
    Unicode properties support
    Newline sequence is LF
    \R matches all Unicode newlines
    Internal link size = 2
    POSIX malloc threshold = 10
    Default match limit = 10000000
    Default recursion depth limit = 10000000
    Match recursion uses stack

    opt/pcre/bin/pcretest -C
    PCRE version 8.21 2011-12-12
    Compiled with
    UTF-8 support
    Unicode properties support
    No just-in-time compiler support
    Newline sequence is LF
    \R matches all Unicode newlines
    Internal link size = 2
    POSIX malloc threshold = 10
    Default match limit = 10000000
    Default recursion depth limit = 10000000
    Match recursion uses stack


    Using PHP 5.4.11, CentOS 6 x64 and Apache 2.4. Was using the same on another server except on a 32 bit OS and it was fine.
     
  2. NovemberRain

    NovemberRain Member

    Joined:
    Sep 24, 2003
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    İstanbul
  3. Killers2

    Killers2 New Member

    Joined:
    Jan 21, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Yes going back to 2.2 resolved this issue. Did not have the issue on a 32 bit CentOS 5 system.
     

Share This Page