pdo - php ver 8.0 and pdo_mysql driver

one text

on cPanel I changed php version from 7.3 to 8.0
in the list of extensions - there is no more pdo_mysql
loading the site I'm getting error - could not find driver
so I choose php ver 7.3 back
pdo_mysql is there and the site works fine

what should I do?
is there a way to have php ver 8

here is the relevant part of my db_connection file:

try {
    $db = new PDO("mysql:host=".DBHOST."; dbname=".DBNAME, DBUSER, DBPASS);
    $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
    $db->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, false);
    $db->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
}
catch (PDOException $e){
    echo $e->getMessage();
    exit;
}

Source