On this page, we explain step by step how to setup CodeIgniter with CloudPanel.
When you Add the Domain, make sure to select the CodeIgniter 4 Vhost Template and the right PHP Version.
Make sure to point the Document Root to the public directory.
To install CodeIgniter do the following steps:
- Login via SSH to the server e.g. with john-ssh and go htdocs directory:
- Delete the project directory which has been created by CloudPanel:
- Install via composer:
- Reset permissions.
- Done! You can now open your domain in your browser to see the Welcome to CodeIgniter page.