Main menu

Pages

Environment Variables in Apache and Xampp

 

Few days back one of my friend's project database credentials got exposed. After some investigation, we realized that it is because of the .git config commit. I would recommend configuring your sensitive credentials with operating system environment variables. This way you can protect information from the code base. This post will explain how to set up an environment variable for an Apache web server.


Environment Variables in Apache and Xampp

Comments