I have a fresh Laravel 5.6.26 project on my CENTOS 7. After creating the database and setted up the .env file with required information I ran php artisan migrate and exceptions were thrown, however, I can access the database by the Laravel application using Illuminate\Support\Facades\DB and I have the PDO installed.