amitmerchant1990 / amitmerchant-dot-com-comments

1 stars 0 forks source link

using-htaccess-to-access-environment-variables-in-php/ #105

Open utterances-bot opened 8 months ago

utterances-bot commented 8 months ago

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/

Lllesliee commented 8 months 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!