You are not logged in.

#1 2022-03-20 12:44:27

markc
Member
From: Gold Coast, Australia
Registered: 2007-05-15
Posts: 502
Website

[SOLVED] php81-mysql missing

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

#2 2022-03-20 13:14:07

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,210

Re: [SOLVED] php81-mysql missing

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

#3 2022-03-20 13:54:38

mpan
Member
Registered: 2012-08-01
Posts: 1,615
Website

Re: [SOLVED] php81-mysql missing

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

#4 2022-03-20 14:57:33

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,591
Website

Re: [SOLVED] php81-mysql missing

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

#5 2022-03-20 15:41:56

progandy
Member
Registered: 2012-05-17
Posts: 5,319

Re: [SOLVED] php81-mysql missing

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

#6 2022-03-21 00:17:40

markc
Member
From: Gold Coast, Australia
Registered: 2007-05-15
Posts: 502
Website

Re: [SOLVED] php81-mysql missing

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

#7 2022-03-21 12:46:24

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] php81-mysql missing

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

#8 2022-03-22 01:12:07

markc
Member
From: Gold Coast, Australia
Registered: 2007-05-15
Posts: 502
Website

Re: [SOLVED] php81-mysql missing

2ManyDogs wrote:

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

Board footer

Powered by FluxBB