Can't seem to get mysqli & pdo_mysql to run, both throw warnings when starting PHP ("php80 --info" etc.):
PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib/php80/modules/mysqli (/usr/lib/php80/modules/mysqli: cannot open shared object file: No such file or directory), /usr/lib/php80/modules/mysqli.so (/usr/lib/php80/modules/mysqli.so: undefined symbol: mysqlnd_global_stats)) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php80/modules/pdo_mysql (/usr/lib/php80/modules/pdo_mysql: cannot open shared object file: No such file or directory), /usr/lib/php80/modules/pdo_mysql.so (/usr/lib/php80/modules/pdo_mysql.so: undefined symbol: pdo_parse_params)) in Unknown on line 0
Tried recompiling, no luck.
edit: Oh, I think I get it now: They're autoloaded via their conf.d
files, and not supposed to be added again as extension=…
in php.ini
?
Pinned Comments
muhviehstarr commented on 2022-08-08 07:32 (UTC) (edited on 2022-10-18 12:04 (UTC) by muhviehstarr)
binaries can be found here, currently the packages are not signed , i will add this when i got some time
https://files.it-kraut.net/php80/
pacman.conf:
el_aur commented on 2022-02-03 18:50 (UTC)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php80
is installed withphp80-cli
subpackage,php80
doesn't include it anymore!!!PEAR and PECL are available as
php80-pear
andphp80-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php80
package anymore.No more extensions in php.ini itself!
Separate INI files for each extension are placed in
/etc/php80/conf.d
They are loaded in correct order according to priority