Donate to CWP

Your donations will be allocated to upgrades and further developments.
Click to know more about donations

Custom Modules

Get Custom modules for your CWP.
Get Custom Modules

Managed Support

Get Managed Support for your servers.
Click Here for more info

One Time Support

Do you need One Time support? Get Fast Support Here

How to Build a New Module for Web Panel

It’s very easy to build a new module for CentOS-WebPanel

Let’s create file named: test2.php
Location of the modules folder is: /usr/local/cwpsrv/htdocs/resources/admin/modules/

$cpu_info = shell_exec(“cat /proc/cpuinfo”);
echo “This is example module<br>”;
echo “You can edit this file and make new modules based on this file<br>”;
echo “Examples and functions are on our website:<br>”;
echo “<h3>CPU INFO</h3><pre>”.$cpu_info.”</pre>”;

To open this file in CentOS-WebPanel , upload it to the modules folder and use this link path:



How to add this module to CentOS-WebPanel menu?
It’s easy. Go to include folder and make new file named 3rdparty.php .Through file, you add links one per line.

File Location: /usr/local/cwpsrv/htdocs/resources/admin/include/3rdparty.php

<li><a href=”index.php?module=test2″><span class=”icon16 icomoon-icon-arrow-right-3″></span>Test2 Module</a></li>