Make Your WordPress Site More Secure with PHP dotenv
Вставка
- Опубліковано 23 лют 2021
- In this video, we go over PHP dotenv and how it can make your site more secure!
Installing Composer - getcomposer.org/download/
My favorite caching plugin - WPRocket: wpcasts.tv/go/wprocket
💖 Become a Patron to show support & get perks!
/ wpcasts
Sign up for the newsletter. Free course coming soon:
wpcasts.tv
*SOCIAL*
Twitter: / alexanderbyoung
Facebook: / wpcasts.tv - Фільми й анімація
Definitely one of my favorite channels on YT. 👌
Thanks much for this! You saved me again 😉
Thanks for this video!
Love the video. Tried to do install it by following the dotenv github and they didn't include the require_once line in the readme, so I was stuck for around 2 hours. Big help, great content
Why not simply gitignore the wp-config file?
Thanks man
Just wondering:
I assume that you also create a .env file on your production server with the correct variables for that environment, if that's the case what is the reason you can't just do the same with the wp-config.php file and place the wp-config.php on the .gitignore?
Thank you for this resourceful video. If i deploy using cicd github actions how do i load them
Thanks for your tutorial , I have dotenv based wordpress site ; I can't show errors and error log even when activating debug in wp-config , do anyone has any idea about this ? thanks in advance
If we have API key in the general settings of WordPress, how we could pass that API key to ENV file?
Thank you very much sir.
But, how does this work in Production? Can this library on upload to a Live-server access the Server Environment? Or is it solely for dev use?
Holy beard!
Still waiting for 'Oh hello, I didn't see you there!"
🤣
Hello! Check email (and spam) with a letter of cooperation (ConveyThis)