Easy Apache failure - backup first

monkey64

Well-Known Member
Nov 6, 2011
100
4
68
cPanel Access Level
Root Administrator
I tried to update one of my PHP modules (XSL) recently and recomplied with Easy Apache. BTW I had chosen to install PHP5.X which was marked as experimental. During the build, there were quite a few red lines but surpisingly the build carried on and I was left with a non startable Apache. I couldn't afford the down time so in desperation, I re-imaged the server from a backup I made.

I don't have the error log to hand which I know is no use.:mad:
I am soon going to have to bite the bullet and run Easy Apache again because I need the XSL module, and this time I have to make it work.

There is a strong chance that this build will fail as well and I ask what precautions I should take?
I could make a backup which could be restored in case of failure...

Code:
cp -a /usr/local/apache /usr/local/apache-bak

That way if anything goes wrong during or after the update, simply revert and restart apache.

rm -fR /usr/local/apache ; cp -a /usr/local/apache/apache-bak /usr/local/apache
Any ideas?
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,902
2,228
363
cPanel Access Level
DataCenter Provider
Twitter
Hello :)

It's difficult to pinpoint any particular reason for the build failure without the logs. I suggest simply opening a support ticket using the link in my signature and have us run EasyApache for you. This way, we can immediately address any issues that arise. You can post the ticket number here so we can update this thread with the outcome.

Thank you.