You are not logged in.
Pages: 1
Hi, I'm just setting up a new machine and need to develop with PHP 8.1. There are quite a few PHP 8.1.3 packages available, except PHP81-mysql. Would anyone happen to know where that particular package may be or where I can find out more info, please?
Last edited by markc (2022-03-22 01:10:01)
Offline
I don't think such a package exists on archlinux (or aur) .
See https://wiki.archlinux.org/title/PHP#MySQL/MariaDB how to combine php with mysql/mariadb .
Keep in mind extra php is at 8.1.4 and all php-* packages in repos without a number behind php are for that 8.1.4 version .
You should only need php81 packages for things that are not in repos.
Last edited by Lone_Wolf (2022-03-20 13:14:49)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
markc:
Do you mean mysql or pdo_mysql? The latter is built by default and included in the official PHP package mentioned by Lone_Wolf. You don’t need to install additional packages: it’s already there, in “/usr/lib/php/modules/pdo_mysql.so”. The former has been removed 7 years ago.
Last edited by mpan (2022-03-20 13:55:23)
Offline
Mod note: Moving to NC.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
mysqli (edit with an "i") is also included in php. Don't forget to enable it or pdo in your php.ini.
Edit: Of course, that is mentioned in the wiki article. No idea why I missed that line...
Last edited by progandy (2022-03-20 15:45:59)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
My mistake, and apologies for the noise, it was simply a case of me not uncommenting the pdo_mysql and mysqli extensions in /etc/php/php.ini. I'm setting up my server system on Ubuntu, Alpine and Arch/Manjaro and was confused as to what to expect on Arch. Newbie indeed.
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Thank you. I looked everywhere on the page and in my profile and couldn't find any obvious info or button how to do that. Been spoilt by Discord.
Offline
Pages: 1