How to uninstall Cpnginx from the cPanel server? Print

  • 0

Run the following commands to remove Cpnginx from the cPanel server:

Make sure to remove the attributes from their internal files:

chattr -ia /usr/local/cpanel/base/frontend/paper_lantern/cpnginx/common.php
chattr -ia /usr/local/cpanel/whostmgr/cgi/cpnginx/lib/common.php
chattr -ia /usr/local/cpanel/whostmgr/cgi/cpnginx/cpnginx.php
chattr -ia /etc/cpnginx/kstatus

Once the above process is done, start the process of uninstalling Cpnginx:

cd /usr/src
export VERSION=11.7 # This is the version number of cpnginx
wget -N syslintportal.com/downloads/cpnginx-$VERSION.tar.gz
tar -xvzf cpnginx-$VERSION.tar.gz
cd cpnginx-$VERSION
chmod 755 install.py
./install.py remove
cd /root
rm -rf /usr/src/cpnginx-*

That's all! Feel free to contact us through a support ticket if you need any help!


Was this answer helpful?

« Back

Send Message