On this page, we explain step by step how to setup CakePHP with CloudPanel.
When you Add the Domain, make sure to select the CakePHP 4 Vhost Template, and the right PHP Version.
Make sure to point the Document Root to the webroot directory.
To install CakePHP 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 CakePHP 4 page.