go to bug id or search bugs for
As of this morning when making reference to PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT we encounter an exception:
Undefined class constant 'MYSQL_ATTR_SSL_VERIFY_SERVER_CERT'. I can only assume this was somehow left out of the latest build or the name of this constant has changed [in which case it's an unintended breaking change].
This has caused us to disable SSL over MySQL [hence my classification].
$options[PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT] = false; //should execute cleanly, but currently does not
PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT should exist
Undefined class constant 'MYSQL_ATTR_SSL_VERIFY_SERVER_CERT'
Add a Patch
Add a Pull Request
$ php70 -v
PHP 7.0.21 (cli) (built: Jul 5 2017 14:57:12) ( NTS )
$ php70 -r 'var_dump(PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT);'
Confirmed issue was unrelated and erroneously reported, actual version this was found on was 7.0.2 [which did not support this feature], so there was no actual issue.