Take care: This article is maybe outdated or at least a bit neglected. It hasn't been updated for a while.

Craft 3 setup

In our help pages we cover the setup process of Craft 4. Here we document the differences to Craft 3.

Use Craft 3

Starting from May 25th 2022 we assume every new Craft App created on fortrabbit runs on Craft 4. To deploy a Craft 3 some changes are required.

Craft 3 Environment variables

Go to ENV vars for the App: {{app-name}}

The following ENV vars Craft 3 expects. Copy the block below and paste it under the ENV var settings of your App. All you need to change is the SECURITY_KEY. You get it from your local .env file.

DB_DATABASE=${MYSQL_DATABASE}
DB_DRIVER=mysql
DB_PASSWORD=${MYSQL_PASSWORD}
DB_SERVER=${MYSQL_HOST}
DB_USER=${MYSQL_USER}
DB_DSN=mysql:host=${MYSQL_HOST};port=3306;dbname=${MYSQL_DATABASE}
ENVIRONMENT=production
SECURITY_KEY={REPLACE_WITH_YOUR_LOCAL_SECURITY_KEY}

All articles

Craft CMS

Statamic

Install guides

Code access

Deployment

Git

SSH

SFTP

Troubleshooting

DNS

MySQL

TLS (SSL)

htaccess

Development

Teamwork

Platform

Billing

The Dashboard

Stacks

Tips & tricks

Quirks

Support

FAQ

Need individual help?
Learn about Company plans ›
Looking for an old article?
See the full list of articles ›
Found an error?
Contribute on GitHub ›