Skip to main content
Topic: PHP 8.2 missing packages? (Read 351 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

PHP 8.2 missing packages?

I am setting up a shell-only server to run some web-based software for us. This software requires certain PHP packages. The packages appear for the outdated 7.4, but not for the newer 8.2. Are the packages built into 8.2 or do they not exist in the repo yet?
Code: [Select]
[my.name@timeclock ~]$ sudo pacman -Ss php | grep dom
galaxy/php74-dom 7.4.29-1
    dom module for php74
[my.name@timeclock ~]$ sudo pacman -Ss php | grep bz2
galaxy/php74-bz2 7.4.29-1
    bz2 module for php74
[my.name@timeclock ~]$ sudo pacman -Ss php | grep bcmath
galaxy/php74-bcmath 7.4.29-1
    bcmath module for php74
Searching for just "php" does show 8.2, but without these modules I cannot use it. Am I missing something?
-The Great Sephiroth

Re: PHP 8.2 missing packages?

Reply #1
Available at AUR in the meantime :
Spoiler (click to show/hide)

Re: PHP 8.2 missing packages?

Reply #2
Forgive my ignorance, but what is trizen and I assume AUR is something dealing with Arch repos? I started with Epoch, Debian and the old RedHat (I have the 9-CD box set from ~2001) and now use Gentoo on my workstations and am trying to use Artix for shell-only servers since Gentoo is a mess to maintain on a live server and I do not want systemd which Debian and RedHat now have. In other words, my experience with pacman and Artix is limited at this point.
-The Great Sephiroth

 

Re: PHP 8.2 missing packages?

Reply #3
Hello,
Trizen is an AUR helper that can be installed from the galaxy repository:
sudo pacman -Syu trizen git base-devel linux-headers

Personally, I installed a few AUR packages using trizen.
To find and install a package named xfce4-kbdleds-plugin :
Code: [Select]
trizen xfce4-kbdleds-plugin
1 aur/xfce4-kbdleds-plugin 0.2.5-1 [installed] [27+] [0.00%] [15 Jan 2022]
    Xfce keyboard LEDs panel plugin
2 aur/xfce4-kbdleds-plugin-git 0.0.6_7_gecc3609-1 [3+] [0.00%] [13 Jun 2015]
    Xfce keyboard LEDs panel plugin

=>> Select packages to install


If the package is present in other repositories, trizen will mention it :
Spoiler (click to show/hide)
As you can see, I installed freecad-git from the chaotic-aur repository :
https://aur.chaotic.cx/

I also installed different packages from the extra repository (Arch) :
https://wiki.artixlinux.org/Main/Repositories#Arch_repositories

I'm at home and tinkering at my own risk, but I've had Artix on different PCs since 2019 and everything works.
On a server, I would obviously be more careful, but I would not hesitate to install a few AUR packages if necessary :
https://forum.artixlinux.org/index.php/topic,185.msg1446.html#msg1446