0

Amazon AWS (LAMP) automatically adds DB param constants so that it’s not necessary to mention them explicitly in the php: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_PHP.rds.html. How can I replicate this on my local (windows) instance? I saw define, but that needs to go in the php file, which defeats the purpose I think. There must be a better way to achieve this, right?

1

1 Answer 1

0

The QA referenced in Jose Henrique Felipetto (Setting environment variables for accessing in PHP) answered this question. I have put in a close vote on my own question, and closed it as a duplicate

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.