Package Details: php82-pecl 8.2.18-1

Git Clone URL: https://aur.archlinux.org/php82.git (read-only, click to copy)
Package Base: php82
Description: PHP Extension Community Library (PECL) for php82
Upstream URL: http://www.php.net
Licenses: PHP
Submitter: el_aur
Maintainer: el_aur
Last Packager: el_aur
Votes: 3
Popularity: 0.012132
First Submitted: 2022-07-26 18:36 (UTC)
Last Updated: 2024-04-18 17:57 (UTC)

Pinned Comments

el_aur commented on 2023-03-01 21:08 (UTC)

Created binary repository on build.opensuse.org

https://build.opensuse.org/project/show/home:el:archphp

For Arch Linux, edit /etc/pacman.conf and add the following (note that the order of repositories in pacman.conf is important, since pacman always downloads the first found package):

[home_el_archphp_Arch]
Server = https://download.opensuse.org/repositories/home:/el:/archphp/Arch/$arch

Then run the following as root

key=$(curl -fsSL https://download.opensuse.org/repositories/home:el:archphp/Arch/$(uname -m)/home_el_archphp_Arch.key)
fingerprint=$(gpg --quiet --with-colons --import-options show-only --import --fingerprint <<< "${key}" | awk -F: '$1 == "fpr" { print $10 }')
pacman-key --init
pacman-key --add - <<< "${key}"
pacman-key --lsign-key "${fingerprint}"

Refresh packages database

pacman -Syy

Now search for php packages you need:

pacman -Ss php82

Install with pacman -S packages you need or all PHP 8.2 packages with:

sudo pacman -S $(pacman -Ssq | grep '^php82')

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

erenatas commented on 2023-05-16 07:36 (UTC) (edited on 2023-05-16 07:40 (UTC) by erenatas)

The segmentation fault might be caused by the issue discussed in https://bugzilla.redhat.com/show_bug.cgi?id=2203863, when the main executable is built with -fPIE instead of -fPIC, subsequently loaded libraries might pick up the wrong environment (a NULL pointer).

kescherAUR commented on 2023-05-06 01:35 (UTC) (edited on 2023-05-06 01:36 (UTC) by kescherAUR)

Since a recent Arch update, there seems to be an issue whenever imagick.so from the php82-imagick package is loaded. Both cli and fpm will segfault. Using gdb, I've figured out that this segfault occurs due to libgomp.so. This library is actually dynamically linked with the module, but not with PHP itself.

The same occurs with php81 and php80 as well.

Here's the gdb output for php81, as I've had it in my clipboard just now:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff0fbb15e in initialize_env () at /usr/src/debug/gcc/gcc/libgomp/env.c:2062

Weirdly enough, this does not happen with extra/php combined with community/php-imagick, despite the linking situation being exactly as with this one: Module is linked to libgomp, PHP isn't. I suspect that something in the official extra/php package is different to this one that allows php-imagick to function correctly.

el_aur commented on 2023-04-13 13:08 (UTC)

@Rikj000 you can use php82-pecl package to build and install pdo_sqlsrv extension instead of waiting for package. I'm not gonna support this pdo_sqlsrv ;)

Rikj000 commented on 2023-04-12 08:22 (UTC)

@el_aur can you please add the php82-pdo_sqlsrv package?
As mentioned by @andoni, the package has PHP v8.2 support since v5.11.0:
- https://github.com/microsoft/msphpsql/releases/tag/v5.11.0
- https://aur.archlinux.org/packages/php-pdo_sqlsrv#comment-906428
- https://aur.archlinux.org/packages/php81-pdo_sqlsrv#comment-906429

el_aur commented on 2023-03-01 21:08 (UTC)

Created binary repository on build.opensuse.org

https://build.opensuse.org/project/show/home:el:archphp

For Arch Linux, edit /etc/pacman.conf and add the following (note that the order of repositories in pacman.conf is important, since pacman always downloads the first found package):

[home_el_archphp_Arch]
Server = https://download.opensuse.org/repositories/home:/el:/archphp/Arch/$arch

Then run the following as root

key=$(curl -fsSL https://download.opensuse.org/repositories/home:el:archphp/Arch/$(uname -m)/home_el_archphp_Arch.key)
fingerprint=$(gpg --quiet --with-colons --import-options show-only --import --fingerprint <<< "${key}" | awk -F: '$1 == "fpr" { print $10 }')
pacman-key --init
pacman-key --add - <<< "${key}"
pacman-key --lsign-key "${fingerprint}"

Refresh packages database

pacman -Syy

Now search for php packages you need:

pacman -Ss php82

Install with pacman -S packages you need or all PHP 8.2 packages with:

sudo pacman -S $(pacman -Ssq | grep '^php82')

el_aur commented on 2023-02-21 12:44 (UTC)

8.2.3

xAsh commented on 2023-02-15 19:58 (UTC)

If you had clicked on "Flagged out-of-date (2023-02-05)", you would have seen 8.2.2 is out, and the one here is 8.2.1. Also, latest build on php.net is 8.2.3

kiamlaluno commented on 2023-02-13 15:25 (UTC)

I wonder why this package has been flagged out-of-date.

kennystier61 commented on 2023-02-09 07:01 (UTC)

Any chance we can get the imagick extension added as a package?

el_aur commented on 2023-01-16 18:44 (UTC)

yeah, they are building fine and passing bundled PHP tests try to build it in clean chroot to avoid issues