I was experiencing this earlier today on a cPanel install to which I had deployed a symfony application. The solution was to install the PDO_MYSQL Pecl module. Here’s how you do it:
- Log in as root to your cPanel install
- Under the Software menu on the left, click “Module Installers”
- Click Manage, next to the PHP Pecl item
- Search for “PDO” using the search
- Click “Install” in the PDO_MYSQL row
- Clear your symfony cache, and away you go!