Hello, it's been a while since I last posted on this forum. The site seems to be running smoother than I remember. 🙂
Getting down to business though. I run a local server on my machine to test out code before uploading it to my server. (Standard practice I assume). I'm a designer at heart, developer out of necessity, and server admin hardly. So please forgive me if this is a noob question to ask, but I just have not found anything helpful in my google searching quests.
My host uses this environment variable for my sql database connections:
$_ENV['DATABASE_SERVER']
I'd like to set that variable on my local server to be "localhost". This way I will not need to change my connection string between my test server and my remote server. So my question is, where and how do I set $_ENV['DATABASE_SERVER'] = "localhost" on my local server?
I'm running IIS and have the latest version of PHP installed to C:/PHP