Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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:
    43,928
    Likes Received:
    1,817
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice