Open utterances-bot opened 1 year ago
If you are macOS user, ServBay.dev is a good tool, especially for the beginners. It handles all PHP, MariaDB, PostgreSQL versions, plus Redis and Memcached. Run multiple PHP instances simultaneously and switch easily. This tool has made my PHP dev simpler. Worth a shot!
Using .htaccess to access environment variables in PHP — Amit Merchant — A blog on PHP, JavaScript, and more
If you’re working with the latest frameworks, it’s not very difficult to set up environment variables for your app.
https://www.amitmerchant.com/using-htaccess-to-access-environment-variables-in-php/