8.5.1 with PHP 7.2.X vs 7.3.X

Permalink
Same on all six of my Concrete5 websites, 4 of which have no add ons.

8.5.1 works fine with PHP 7.2.X, but when I enable PHP 7.3.X this is the error I get:


*
* @throws PDOException in case of an error.
*/
public function __construct($dsn, $user = null, $password = null, array $options = null)
{
try {
parent::__construct($dsn, $user, $password, $options);
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array('Doctrine\DBAL\Driver\PDOStatement', array()));
$this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}

/**
* {@inheritdoc}
*/
public function exec($statement)
{
try {
return parent::exec($statement);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}

 
Steevb replied on at Permalink Reply
Steevb
I have two sites running 8.5.1 and PHP 7.3.7 without issue.

#Server Software Litespeed
#Server API litespeed

Maybe it's a server issue?
Steevb replied on at Permalink Reply
Steevb
You might want to check your php extensions.
Maybe:
opcache
zip
pdo_mysql

And perhaps some others.
Just a thought, not all extensions are auto filled when updating.
captshaw replied on at Permalink Reply
opcache was NOT enabled
zip was enabled
pdo_mysql my hosting service did not give me access to this one in 7.3.X it is there in 7.2.X

After enabling opcache it still does not work
captshaw replied on at Permalink Reply
Hosting company renamed pdo_mysql to nd_pdo_mysql after I enabled it now Concrete5 8.5.1 works with PHP 7.3.7

Thanks for the help!