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.
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...
Any ideas?
I don't have the error log to hand which I know is no use.
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