Package Details: php81 8.1.29-3

Git Clone URL: https://aur.archlinux.org/php81.git (read-only, click to copy)
Package Base: php81
Description: PHP. A general-purpose scripting language that is especially suited to web development
Upstream URL: http://www.php.net
Keywords: 8.1 php php8
Licenses: PHP
Submitter: el_aur
Maintainer: el_aur
Last Packager: el_aur
Votes: 11
Popularity: 0.115917
First Submitted: 2021-12-01 12:54 (UTC)
Last Updated: 2024-07-24 20:34 (UTC)

Dependencies (58)

Sources (11)

Pinned Comments

el_aur commented on 2022-01-27 12:09 (UTC) (edited on 2022-01-27 15:19 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

  1. Console version /usr/bin/php81 is installed with php81-cli subpackage, php81 doesn't include it anymore!!!

  2. PEAR and PECL are available as php81-pear and php81-pecl subpackages

  3. All shared modules are respresented as stand-alone subpackages and are not included with php81 package anymore.

  4. No more extensions in php.ini itself!

Separate INI files for each extension are placed in /etc/php81/conf.d

They are loaded in correct order according to priority

Latest Comments

1 2 3 4 5 6 Next › Last »

flberger commented on 2024-10-31 15:19 (UTC)

A security update of PHP 8.1 has been released on 26 Sep 2024:

https://www.php.net/archive/2024.php#2024-09-26-4

The security issue has been deemed critical.

The AUR version is still at 8.1.29 , and hence vulnerable.

An update would be highly appreciated.

birdspider commented on 2024-07-25 07:46 (UTC)

@all: sorry, I completely missed out on this conversation (forgot to enable notifications). However I can also confirm the latest changes fixed the build issues I had. Thanks!

el_aur commented on 2024-07-24 20:31 (UTC)

Thanks @arch-chicken, added your patch to PKGBUILD

namtrungtruong commented on 2024-07-13 03:50 (UTC)

Thanks for sharing, @arch-chicken

df8oe commented on 2024-07-12 12:21 (UTC)

I successfully have built it using @arch-chicken 's patch. Thanks for sharing!

arch-chicken commented on 2024-07-11 13:26 (UTC)

@df8oe there are already patches to compile c-client:

https://aur.archlinux.org/packages/c-client

arch-chicken commented on 2024-07-11 13:19 (UTC)

@birdspider with this small patch you should hopefully be able to compile this package again:

--- a/PKGBUILD 2024-07-11 15:14:05.859353324 +0200
+++ b/PKGBUILD 2024-07-11 15:13:47.835754282 +0200
@@ -484,6 +484,9 @@
     pushd "build-${_sapi}"
      ./configure ${_phpconfig} ${_commands}
     patch -p1 -i "${srcdir}/make-tests.patch"
+    if [[ $_sapi == "cli" ]]; then
+        sed -i 's/\(-Iext\/intl\/.*\)-std=c++11\(.*\)/\1-std=c++17\2/g' Makefile
+    fi

     if (($_sapi != "cli")); then
         make clean

df8oe commented on 2024-07-10 15:27 (UTC)

Additional information:

When I try to build in chroot with paru --chroot -S php81 installation of dependency c-client also fails. I cannot build c-client and so build of php81 also fails.

tspencer244 commented on 2024-07-08 01:19 (UTC)

I have the same build issue as birdspider.

Here is a pastebin of my makepkg.conf:

https://pastebin.com/AFAaJEk6

el_aur commented on 2024-07-07 09:04 (UTC)

@birdspider can you pastebin /etc/makepkg.conf anywhere?