monkey64

Well-Known Member
Nov 6, 2011
124
5
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

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
To update, EasyApache was able to complete successfully after removing some invalid entries in /usr/local/apache/conf/modsec2.conf and allowing the build to regenerate a default instance of that file.

Thank you.