Topic: PDO not found in PHP80
Fedora 33 here.
I've installed the remi repos, following the wizard's instructions. Installed the language (php80-php) alongside a lot of packages, including of course, PDO (php80-php-pdo, php80-php-mysqlnd, etc...).
For some reason I can't make PDO work: the language can't find it:
[zaphod@magrathea bin]$ php -a
Interactive shell
php > $dbh = new PDO('foo', 'bar', 'baz');
PHP Warning: Uncaught Error: Class "PDO" not found in php shell code:1
Stack trace:
#0 {main}
thrown in php shell code on line 1
Same thing happens with trying it outside the interactive shell. The language simply doesn't find it.
It's present at /etc/opt/remi/php80/php.d/20-pdo.ini but it doesn't show in php -m...
Tried dnf reinstall on php80-php and php80-php-pdo, nothing works.
Please help.