The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

compile php with SPL & PCRE

Discussion in 'General Discussion' started by alex_funky_dj, May 21, 2011.

  1. alex_funky_dj

    alex_funky_dj Member

    Joined:
    Oct 30, 2004
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Alexandria, Egypt.
    how can I compile PHP with SPL & PCRE support ? cause I couldn't find both in EasyApache configuration
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Both SPL and PCRE are enabled by default in PHP version 5.0 and higher (PCRE in PHP 4.2.0 and higher).

    You can check if they are enabled by using the following commands:

    Code:
    # php -m|grep SPL
    # php -m|grep pcre
    The output should look like this if they are installed:

    Code:
    # php -m|grep SPL
    SPL
    # php -m|grep pcre
    pcre
    Thank you.
     
Loading...

Share This Page