Requirements
| What | Needed |
|---|---|
| PHP | PHP-FPM 8.3 or newer (8.3, 8.4, 8.5) with curl, openssl, PDO MySQL (or SQLite) and mbstring |
| ionCube Loader | for that PHP version. CWP installs it for every PHP version; if it is missing, run sh /scripts/update_ioncube restart as root |
| Database | MySQL / MariaDB (recommended) or SQLite for a small setup |
| HTTPS | a certificate for the panel’s domain (AutoSSL). The panel holds API tokens of your servers. |
| Managed servers | CWP with API v2, /scripts/datacenter_addserver and a CWPpro license |
Note: The safest place for the panel is a dedicated server or VPS. It can also run on a hosting server; see the note on the CWP Secure Kernel below.
Install on a CWP server
- In CWP, create a hosting account for the panel, for example for
datacenter.example.com. Request AutoSSL for the domain.
- Set the domain to PHP-FPM 8.3 (or newer): CWP → PHP-FPM selector, or the PHP version of the domain in the user panel.
- Create a MySQL database and a database user for the account (CWP → MySQL Manager, or the user panel).
- Download the package and unpack it into the account’s
public_html. The zip has one folder; move its contents intopublic_html. As the account user:
cd ~/public_html
rm -f index.html
wget https://static.cdn-cwp.com/files/cwp/datacenter/cwp-datacenter-latest.zip
unzip cwp-datacenter-*.zip && mv cwp-datacenter-*/* . && rmdir cwp-datacenter-* && rm cwp-datacenter-*.zip
Download: cwp-datacenter-latest.zip, always the newest version. Its number and date are in datacenter.json.
- Open
https://datacenter.example.com/install.php. The installer checks the requirements and asks for:
- the database (MySQL host, name, user, password, or a SQLite file),
- the first admin user (name, e-mail, password twice),
- the panel’s public IP address (CWP servers allow the panel by this IP) and the time zone.
It detects a reverse proxy in front of PHP (on CWP: nginx → Varnish → Apache) and configures it, so logins and IP checks see the real visitor’s IP.
- Add the cron line the installer shows, as the account user (CWP → Cron jobs of the account, or
crontab -eas the user):
* * * * * /opt/alt/php-fpm83/usr/bin/php /home/USER/public_html/cron.php >/dev/null 2>&1
- Log in and turn on two-factor login on your profile.

Allow the panel to reach your servers
The panel connects to every CWP server on port 2304. On the panel’s server, as root, run once for every server you add:
/scripts/datacenter_allow <IP of the CWP server>
It adds port 2304 to CSF TCP_OUT and allows that IP in the CWP Secure Kernel (website and cron lists), then reloads both. --remove takes the IP off the Secure Kernel lists again.
Note: The CWP Secure Kernel lists are per server, not per account: after datacenter_allow, every website on the panel’s server may open a connection to port 2304 of that CWP server. It still needs an API token to do anything, but a dedicated server for the panel avoids the question.
Without this step, adding a server fails with Operation not permitted; the panel then shows the exact datacenter_allow command.
Other web servers
src/, pages/, templates/ and data/ are protected by .htaccess files. On nginx without Apache, add:
location ~ ^/(src|pages|templates|data)/ { deny all; }
location = /config.php { deny all; }