Undefined class constant 'MYSQL_ATTR_MULTI_STATEMENTS'

Permalink 1 user found helpful
As the subject indicates, we get this error installing a "Fresh & Clean: Install of Version 8.2.1.Version 8.2.0 works just fine.

Enables in php.ini:
extension=php_pdo_mysql.dll
extension=php_mysql.dll

phpinfo reports all is well, so we are about t99.9999% sure everything is fine on our test server. Occurs on Win2008R2 and Centos 6.6, so we don't believe it to be the platform.

All settings during install are "absolutely correct", they are the same settings we use for all test install sites.

Most frustrating; take 1 step forward to a versions with fixes and then the fixed version is foo-barred - or apparently so.

So anybody have any ideas?

 
hutman replied on at Permalink Reply
hutman
This happened to me too using PHP 5.5.9, the only way I got it to work was to upgrade the PHP version.

https://www.concrete5.org/community/forums/customizing_c5/php-5.5.9-...
goomba replied on at Permalink Reply
Interesting comment and it makes sense.

However; I just realized that when installing, the installer reported v 5.5.9 but I am using 5.6.26 (Released: 15 Sep 2016).

phpinfo reports 5.6.26.

Oh well, we'll stay with our current version of C5 until/unless we run into issues and then deal with that scenario,

Thanks for the intel.
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
goomba replied on at Permalink Reply
JohntheFish, thanks for this - fixed it.

I did see a thread earlier for this fix on the hub. I also copied Andrews code into my editor and "thought" I had updated the "ConnectionFactory" php file.

What I did of course, was to save the original. The, engaging my mastery of stupidity, I edited the dupe. Well of course, the original was still in place.

I do thank you for the link "and" I did severely kick myself in the backside...

Cheers.