PDO and Laravel on Red Hat 7.5
Hi.
I have problem with PDO on Red Hat 7.5.
When I try use command: php artisan migrate I get message:
PHP Fatal error: Class 'PDO' not found in /home/rhel/projects_php/help_desk/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 1246
Symfony\Component\Debug\Exception\FatalErrorException : Class 'PDO' not found
at /home/rhel/projects_php/help_desk/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1246
1242| * @return mixed
1243| */
1244| public static function getResolver($driver)
1245| {
1246| return static::$resolvers[$driver] ?? null;
1247| }
1248| }
1249|
Whoops\Exception\ErrorException : Class 'PDO' not found
at /home/rhel/projects_php/help_desk/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1246
1242| * @return mixed
1243| */
1244| public static function getResolver($driver)
1245| {
1246| return static::$resolvers[$driver] ?? null;
1247| }
1248| }
1249|
What I doing incorrect?
Please help me.
Kind Regards.