outpostmm

Member
Dec 3, 2008
23
0
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
 

outpostmm

Member
Dec 3, 2008
23
0
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463