Skip to main content

FuelPhp

On this site, you find a guide to install FuelPHP on CloudPanel.

Creating a FuelPHP Site

Via CloudPanel

  1. Click on + Add Site and then click on Create a PHP Site.
Create a PHP Site
  1. Select the Application FuelPHP 1.8, enter Domain Name, Site User, Site User Password, and click on Create.
Create a FuelPHP Site

Via CloudPanel CLI

If you like the command line, you can create a FuelPHP Site with the following command as root user.

clpctl site:add:php --domainName=www.domain.com --phpVersion=7.2 --vhostTemplate='FuelPHP 1.8' --siteUser='john-doe' --siteUserPassword='!secretPassword!'

Creating a FuelPHP Project

  1. Log in via SSH with the Site User:
ssh john-doe@server-ip-address
  1. Go to the tmp directory:
cd ~/tmp
  1. Download and extract the latest FuelPHP 1.8 version:
curl -sL https://github.com/fuel/fuel/archive/1.8.2.tar.gz | tar xfz -
Latest Version

You find the latest version on github: https://github.com/fuel/fuel/releases

  1. Copy files to the root directory of your site:
cp -R fuel-1.8.2/* ~/htdocs/www.domain.com/
  1. Install via composer:
cd ~/htdocs/www.domain.com/
php7.2 /usr/local/bin/composer install -n
  1. Clean up the tmp directory:
rm -rf ~/tmp/*
  1. Done! FuelPHP is now installed.
Welcome to FuelPHP