How to uninstall Cpnginx from the cPanel server?

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!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Domain names are not showing in WHM

We were unable to see any domains listed under WHM -> List Accounts. However, we can see the...

How to Start/Stop or Restart Apache server

Apache is the HTTP server that is freely available over the internet. It is a kind of software or...

How to install Attracta SEO Tools plugin

RequirementscPanel/WHM needs to be installed on your server. Step 1: SSH into your server and go...

How to Install CpCleaner in cPanel through SSH?

Installation Run the following shell commands as root via SSH: wget -O cpc-1.0.3.tar...

How to Secure a cPanel/WHM Web Server

Here are a few basic steps that you should keep in mind for keeping a server secure. 1) Strong...