PHP8.1-fpm: pdo-mysql installed but not appear on php -m

QuestionsPHP8.1-fpm: pdo-mysql installed but not appear on php -m
sethbeckerman5 Staff asked 4 years ago

i have install php8.1-fpm and setup it with apache2/FGPI. But after many operation, impossible to "enable pdo-mysql".
i have make this
with result

But, when i do
mysql not appear.

When i try to know why, it seem because Pdo is include on php8.1-common, but … not appear to.
An other action that i have doing is to remove php8.1-mysql and reinstall php8.11-pdo-mysql with , the result is
but, nothing on

EDIT 1
When i look with phpinfo() on a php file to use
php-fpm, i have this result

EDIT2
When i use instead of same result because apt automaticly switch on php8.1-mysql when you try to install pdo-mysql.
EDIT3
The command take the result

This is the real problem, that the needed file never been created by


View on Stack Overflow