Package Details: php81-apache 8.1.29-3

Git Clone URL: https://aur.archlinux.org/php81.git (read-only, click to copy)
Package Base: php81
Description: Apache SAPI for php81
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.98
First Submitted: 2021-12-01 12:54 (UTC)
Last Updated: 2024-07-24 20:34 (UTC)

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 »

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?

birdspider commented on 2024-06-27 17:15 (UTC)

I'm hitting a build issue, any idea if that c++11 is coming from my system or the package / phps source?

Error: Anmerkung: »std::enable_if_t« ist erst ab C++14 verfügbar

it seems something passes both -std=c++17 and -std=c++11 to libtool or something along those lines

/bin/sh /home/birdspider/.cache/paru/clone/php81/src/build-cli/libtool \
  ... -std=c++17 \
  ... -std=c++11 \                               
  -c /home/birdspider/.cache/paru/clone/php81/src/php-8.1.29/ext/intl/intl_convertcpp.cpp