When I was attempting to run the “occ” command to either upgrade or turn on the rewrite base option for my NextCloud or OwnCloud installation I was getting the following error. "PHP Fatal error: Class 'PDO' not found in /var/www/nextcloud/3rdparty/doctrine/db al/lib/Doctrine/DBAL/DriverManager.php on line 172"