On this site, you find a guide to install CakePHP on CloudPanel.
If you like the command line, you can create a CakePHP Site with the following command as root user.
clpctl site:add:php --domainName=www.domain.com --phpVersion=8.1 --vhostTemplate='CakePHP 4' --siteUser='john-doe' --siteUserPassword='!secretPassword!'
ssh john-doe@server-ip-address
cd htdocs && rm -rf www.domain.com
crontab -e
php8.1 /usr/local/bin/composer create-project --prefer-dist cakephp/app:~4.4 www.domain.com
On this site, you find a guide to install CodeIgniter on CloudPanel.
If you like the command line, you can create a CodeIgniter Site with the following command as root user.
clpctl site:add:php --domainName=www.domain.com --phpVersion=8.2 --vhostTemplate='CodeIgniter 4' --siteUser='john-doe' --siteUserPassword='!secretPassword!'
ssh john-doe@server-ip-address
cd htdocs && rm -rf www.domain.com
php8.1 /usr/local/bin/composer create-project codeigniter4/appstarter www.domain.com
On this site, you find a guide to install Drupal on CloudPanel.
If you like the command line, you can create a Drupal Site with the following command as root user.
clpctl site:add:php --domainName=www.domain.com --phpVersion=8.2 --vhostTemplate='Drupal 10' --siteUser='john-doe' --siteUserPassword='!secretPassword!'
ssh john-doe@server-ip-address
cd htdocs && rm -rf www.domain.com
php8.2 /usr/local/bin/composer create-project drupal/recommended-project:^10 -n www.domain.com
On this site, you find a guide to install Joomla on CloudPanel.
If you like the command line, you can create a Joomla Site with the following command as root user.
clpctl site:add:php --domainName=www.domain.com --phpVersion=8.0 --vhostTemplate='Joomla 4' --siteUser='john-doe' --siteUserPassword='!secretPassword!'
ssh john-doe@server-ip-address
cd ~/tmp
mkdir ~/tmp/joomla && curl -sL https://downloads.joomla.org/cms/joomla4/4-3-1/Joomla_4-3-1-Stable-Full_Package.tar.gz | tar xfz - -C ~/tmp/joomla/
cp -R ~/tmp/joomla/* ~/htdocs/www.domain.com/
rm -rf ~/tmp/*
On this site, you find a guide to install Laravel on CloudPanel.
If you like the command line, you can create a Laravel Site with the following command as root user.
clpctl site:add:php --domainName=www.domain.com --phpVersion=8.2 --vhostTemplate='Laravel 10' --siteUser='john-doe' --siteUserPassword='!secretPassword!'
ssh john-doe@server-ip-address
cd htdocs && rm -rf www.domain.com
php8.2 /usr/local/bin/composer create-project --prefer-dist laravel/laravel:^10 -n www.domain.com
On this site, you find a guide to install WooCommerce on CloudPanel.
Click on + Add Site and then click on Create a WordPress Site.
On this site, you find a step-by-step guide on how to build a PHP Extension for a specific PHP Version.
apt update && apt -y install php8.1-dev
curl -O https://pecl.php.net/get/ssh2-1.3.1.tgz
tar xf ssh2-1.3.1.tgz
cd ssh2-1.3.1 phpize8.1
./configure make make install
nano /etc/php/8.1/cli/php.ini
extension=ssh2.so
nano /etc/php/8.1/fpm/php.ini
extension=ssh2.so
systemctl restart php8.1-fpm
After registering the PHP Extension, you can check if the extension is loaded for CLI and FPM correctly.
You can use grep to check if the extension is loaded:
php8.1 -m |grep 'ssh2'
If you don’t get an output, then the extension is NOT loaded.
To check if the extension is loaded for FPM, you can check the phpinfo.
Create the file t.php in the root directory.
Put the following content in the file:
<?php phpinfo();
If you don’t find information about the extension, then it’s NOT loaded.
There is currently no ionCube Loader for PHP 8.0 available.
Using ionCube encoded and secured PHP files requires a file called the ionCube Loader to be installed on the web server and made available to PHP.
The ionCube Loader extension is being shipped by default for all PHP Versions but disabled for performance reasons.
To enable ionCube Loader for a specific PHP Version, you need to enable it for CLI and FPM:
nano /etc/php/8.1/cli/php.ini nano /etc/php/8.1/fpm/php.ini
;zend_extension=ioncube_loader.so
systemctl restart php8.1-fpm
ssh john-doe@server-ip-address
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
source ~/.bashrc
nvm install 16
nvm use 16
node -v