Docs / Control Panels / Setting Up CloudPanel for PHP Hosting

Setting Up CloudPanel for PHP Hosting

By Admin · Feb 25, 2026 · Updated Apr 23, 2026 · 30 views · 1 min read

Overview

CloudPanel is a free, lightweight server control panel built for PHP applications. It supports multiple PHP versions, Nginx, MariaDB/MySQL, and provides one-click deployment for popular applications like WordPress, Laravel, and Drupal.

Installation on Ubuntu 22.04

curl -sSL https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh
sudo DB_ENGINE=MARIADB_10.11 bash install.sh

The installation takes approximately 5 minutes. Once complete, access the panel at https://your-server-ip:8443.

Adding a Website

  1. Click Add Site in the dashboard
  2. Choose your application type (PHP, Node.js, static, or reverse proxy)
  3. Enter your domain name and select the PHP version
  4. CloudPanel automatically creates the Nginx vhost, database, and FTP user

Managing PHP Versions

CloudPanel supports PHP 7.1 through 8.3. Each site can use a different PHP version. Switch versions from the site settings panel — the change takes effect immediately with no restart needed.

SSL Certificates

CloudPanel integrates with Let's Encrypt for automatic SSL. Navigate to your site settings and click SSL/TLS → Actions → New Let's Encrypt Certificate. Wildcard certificates are also supported via DNS validation.

Was this article helpful?