install pdo php extension in php using terminal code example Example: php install pdo sudo apt-get install php-mysql