All we know the cPanel will revert the changes, if easyapache fails. So this step is not mandatory, but a good sys admin always keep a backup before he does anything.
===========================================
1. Take a backup of apache and php configuration files.
mkdir /root/back
cp -a /usr/local/apache/conf /root/back
cp -a /usr/local/lib/php.ini /root/back
2. Keep a list if the Apache and php modules enabled in the server.
touch /root/back/modules_list
php -v >> /root/back/modules_list
php -m >> /root/back/modules_list
httpd -v >> /root/back/modules_list
httpd -M >> /root/back/modules_list
============================================
===========================================
1. Take a backup of apache and php configuration files.
mkdir /root/back
cp -a /usr/local/apache/conf /root/back
cp -a /usr/local/lib/php.ini /root/back
2. Keep a list if the Apache and php modules enabled in the server.
touch /root/back/modules_list
php -v >> /root/back/modules_list
php -m >> /root/back/modules_list
httpd -v >> /root/back/modules_list
httpd -M >> /root/back/modules_list
============================================
Comments
Post a Comment