Jason Bradberry

Well I've just contacted the host. Seems I had been trying the right thing with the ENV file!

Jason Bradberry

The email there is for the host, so something must be configured differently here

Jason Bradberry

I have to say I'm not up to speed on Apache / server config.

Jason Bradberry

This tutorial suggested not using ENV files in production, it suggests using 'real' environment variables instead. Perhaps that's how the host set this up. https://www.silverstripe.org/learn/lessons/v4/up-and-running-setting-up-a-local-silverstripe-dev-environment-1#stq=environment+dev&stp=1

Show 1 attachment(s)
silverstripe.org  
SilverStripe Lessons » Up and Running: Setting up a local SilverStripe dev environment

In this introductory lesson, we cover installing a local webserver (e.g. MAMP), installing and using Composer, and configuring an .env file. Having a finely tuned local environment for your projects will help you work faster and with less redundancy.

Hide attachment content