Pick our brains...

EasyApache & Recompiling Apache / PHP (Easy Apache)

As root, you can use EasyApache to rebuild apache and php, enabling and disabling modules and extensions, changing php versions, changing apache versions, and configurating all kinds of things.  At the end of the selection process, the build is run, and you get to watch a whole lots of beautiful lines of output scroll before your eyes, often making one thankful that you’re not running these builds manually.  Ahhh, that’s why they call it “easyapache”.

*Note:

When using easyapache and running a build, it’s really, really, really important that it run until completion.  Otherwise the server may act more like a toaster than a server.
To that end, plan to have an ssh open for a while.  Running easyapache via WHM in a browser is highly not recommended.

The build process takes a while (5-15 minutes depending on the server).  And the server may stop serving during the build (most of the time, rather briefly).

Before you begin, please read the section on how to backup an easyapache profile below.

How to Start EasyApache:

/scripts/easyapache

From there, well, things get interesting.
To select / deselect, and move about the screens… tab, space, and enter keys are your friends.

Remember that some of the most interesting settings are on the last screen, where you can select an “exhaustive list” of options.  Do that, and you’ll see a lot more buttons, switches, and smokehandles.

Logs:

/usr/local/cpanel/logs/easy/apache/

Backing Up an EasyApache Profile:

The easyapache profile file is saved in:

/var/cpanel/easy/apache/profile/_main.yaml

 

Restoring an EasyApache Profile:

The custom profiles (those that you see as choices in the initial easyapache screen) live in the directory:

/var/cpanel/easy/apache/profile/custom/

 

This might give you some ideas about how to backup a particular easyapache build, and how to restore it.