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.

cpphp compatibility, what does it do, is important?

Discussion in 'EasyApache' started by postcd, Apr 24, 2015.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    620
    Likes Received:
    6
    Trophy Points:
    18
    In EasyApache on the page where i customize apache packages i have:
    "Save my profile with appropriate PHP 5 options set so that it is compatible with cpphp"

    i dont understand that compatibility what it is about and why its needed. I see when this option is ticked (by default i think) it disables MailHeaders package, which i dont want. So im unsure how needed is this option to keep it ticked. If i dont make myself any trouble unticking it when building

    PS: i have been linked to these articles:
    https://documentation.cpanel.net/display/ALD/Select+a+PHP+Binary
    https://documentation.cpanel.net/display/ALD/cPanel+PHP
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The option you have referenced is not enabled by default, and is not required. It's purpose is explained in the first document you provided. Could you elaborate on which aspect of that document you would like for us to clarify?

    Thank you.
     
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    620
    Likes Received:
    6
    Trophy Points:
    18
    I alas understand quite nothing in that document, thats why i asked questions i asked in my first post.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The option's primary purpose is to make the build of PHP that's installed with Apache match the build of PHP that's used for the internal PHP used by cPanel (cPanel uses it's own internal PHP build). Does that make more sense?

    Thank you.
     
  5. cPanelKurtN

    cPanelKurtN Well-Known Member
    Staff Member

    Joined:
    Jan 29, 2013
    Messages:
    95
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    To be a bit more clear, cPanel & WHM uses an internal version of PHP.
    The version of PHP in older cPanel & WHM versions required that you use EA3 to update it.
    However, newer versions of cPanel & WHM deploy PHP via RPM.

    Thus, thus option is only useful for older versions of cPanel & WHM (e.g. less than 11.36) and can be safely ignored.

    NOTE: It might be useful to either hide and/or note the deprecation of this option in EA3.
     
    Duplika likes this.
Loading...
Similar Threads - cpphp compatibility does
  1. sonicthoughts
    Replies:
    18
    Views:
    914

Share This Page