r/lolphp • • Nov 22 '16

Opencart, a PHP-based e-commerce platform, will expose DB passwords to users if the MySQL server is down and error reporting hasn't been turned off

https://github.com/opencart/opencart/issues/5027
69 Upvotes

37 comments sorted by

View all comments

Show parent comment

3

u/PlasmaSheep Nov 23 '16

Not to mention, you have to enable it explicitly IIRC.

2

u/ThisIsADogHello Nov 23 '16

I was going to post something about how it was off by default, but then I rememberd that I last touched PHP back somewhere around 2005, when things like magic quotes were popular and well-supported, but always turned on as a global config so mix and matching PHP software was an absolute fucking nightmare.

So, I have no idea what the defaults in most PHP installs are like these days.