[PDO] Ubuntu 18.04 Drupal Installation Error

[PDO] Ubuntu 18.04 Drupal Installation Error

When you are working on Ubuntu 18.04 and installing Drupal 8.5.5 with PHP7.2-fpm, you might find yourself dealing with an error that says: "Your Web Server is not configured for PDO settings"

This is mainly because your PHP7.2-fpm installation did not include an extension of php-pdo that deals with database connection. Run these commands and you will be okay;

sudo apt-get install php7.2-common