Skip to content

Instantly share code, notes, and snippets.

@vyspiansky
Created July 7, 2024 13:30
Show Gist options
  • Save vyspiansky/c6e9194ce7895dec362471d211b50402 to your computer and use it in GitHub Desktop.
Save vyspiansky/c6e9194ce7895dec362471d211b50402 to your computer and use it in GitHub Desktop.
How to set environment variables in a .htaccess file

SetEnv APP_ENV prod SetEnv DATABASE_URL 'mysql://user:pw@127.0.0.1:3306/dbname'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment