I was confused, while doing a new setup, about apt install php-pdo saying it's already satisfied:
$ apt install php-pdo
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'php8.2-common' instead of 'php-pdo'
php8.2-common is already the newest version (8.2.7-1~deb12u1).
php8.2-common set to manually installed.
The command phpenmod pdo also ran fine, yet the page still complained that PDO is missing. Diving into the source code, I find:
The requirement being checked for is pdo_mysql rather than generic pdo. Indeed, apt install php-pdo-mysql + phpenmod pdo_mysql + systemctl restart apache2 worked.
I'd propose to update the translations to match what people need to install. If you agree with the change, the markdown documentation should also be updated.
I was confused, while doing a new setup, about
apt install php-pdo
saying it's already satisfied:The command
phpenmod pdo
also ran fine, yet the page still complained that PDO is missing. Diving into the source code, I find:app/Http/Controllers/Setup/RequirementsController.php
The requirement being checked for is
pdo_mysql
rather than generic pdo. Indeed,apt install php-pdo-mysql
+phpenmod pdo_mysql
+systemctl restart apache2
worked.I'd propose to update the translations to match what people need to install. If you agree with the change, the markdown documentation should also be updated.