Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#77244 - [php-legacy] pdo_mysql
Attached to Project:
Arch Linux
Opened by Christophe Réquillart (crequill) - Monday, 23 January 2023, 17:56 GMT
Last edited by Pierre Schmitz (Pierre) - Tuesday, 24 January 2023, 14:49 GMT
Opened by Christophe Réquillart (crequill) - Monday, 23 January 2023, 17:56 GMT
Last edited by Pierre Schmitz (Pierre) - Tuesday, 24 January 2023, 14:49 GMT
|
DetailsDescription:
With php-legacy and extension pdo_mysql, I get no driver with: <?php print_r(PDO::getAvailableDrivers()); ?> returns array() Additional info: * package version(s) : php-legacy 8.1.14-3 * config and/or log files etc. : /etc/php-legacy/php.ini with extension=pdo_mysql and extension=mysqli |
This task depends upon
You are right thanks. The problem was in /etc/systemd/system/php-legacy-fpm.service.d/override.conf, there was:
ExecStart=/usr/bin/php-fpm-legacy --nodaemonize --fpm-config /etc/php-legacy/php-fpm.conf --php-ini /etc/php-legacy/php-fpm.ini
I set it with
ExecStart=/usr/bin/php-fpm-legacy --nodaemonize --fpm-config /etc/php-legacy/php-fpm.conf --php-ini /etc/php-legacy/php.ini
And I get mysql as driver:
Array ( [0] => mysql )
and nextcloud is up. Thanks. Ticket can be close.