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!

Developing custom Apache modules

Discussion in 'EasyApache' started by outpostmm, Nov 8, 2018.

  1. outpostmm

    outpostmm Member

    Joined:
    Dec 3, 2008
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    We have several servers that look like they are on 74 right now, but updates to 76 are pending.

    We have a need in our application for a custom Apache module. Are there any special considerations to make with WHM/EA4?

    Is the current Apache source already on the server somewhere so that I can include those header files, or should I download a particular version and compile against that?

    What's the most effective way to make sure the custom module is included across updates to WHM, Apache, EA, etc?

    If we need to run EA again in the future (say, to enable a new PHP extension or Apache module), do we need to do anything special to make sure our custom module gets compiled/included also?

    Any other considerations that anyone could think of would be helpful.

    Thanks
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. outpostmm

    outpostmm Member

    Joined:
    Dec 3, 2008
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    51
    I'm still going through the explanation of the spec file and things like that, but looking at one of the examples it looks like the source file just includes the various Apache header files, is that right? I don't have to distribute or get those headers myself as part of the package, correct? As long as I set up the spec file and other things right, when it compiles my package it's going to do it in an environment where all of the header files are available, right? How do I do the actual development and testing, I don't have to actually run EA every time I want to test my code, do I?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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