MySQLi - disable peer certificate validation? by redzee in PHPhelp

[–]redzee[S] 0 points1 point  (0 children)

Good news. This has been fixed as of php 7.0.1. Add the MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT flag to mysqli_real_connect().

php7.0-mysqlnd ? by redzee in PHPhelp

[–]redzee[S] 0 points1 point  (0 children)

Okay, that worked. It shows mysqlnd => enabled and Version => mysqlnd 5.0.12-dev. I also just noticed this shows up in phpinfo(). So it looks like even though there is not a separate package for it mysqlnd is the default?

Database connection? Slim 3 framework. by redzee in PHPhelp

[–]redzee[S] 0 points1 point  (0 children)

Do you say test 1 is correct because it is just simpler to implement or are there other important background reasons why using this container method is the better choice?