Package Details: php71-apache 7.1.33-11

Git Clone URL: https://aur.archlinux.org/php71.git (read-only, click to copy)
Package Base: php71
Description: Apache SAPI for php71
Upstream URL: http://www.php.net
Keywords: 7.1 php
Licenses: PHP
Submitter: synthead
Maintainer: wget (el_aur)
Last Packager: el_aur
Votes: 12
Popularity: 0.000000
First Submitted: 2018-03-26 18:04 (UTC)
Last Updated: 2024-03-27 15:00 (UTC)

Pinned Comments

el_aur commented on 2022-02-03 18:48 (UTC) (edited on 2022-02-18 10:38 (UTC) by el_aur)

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 php71

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

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

el_aur commented on 2022-02-03 18:47 (UTC) (edited on 2022-02-03 18:50 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

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

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

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

  4. No more extensions in php.ini itself!

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

They are loaded in correct order according to priority

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 Next › Last »

zack6849 commented on 2018-04-04 20:05 (UTC)

Doesn't build properly for me, get compiler errors, is this package still maintained?

lilmike commented on 2018-04-03 13:29 (UTC)

Unfortunately that seems to be a conflict between php and the new version of the required library on arch. I've opened a bug on php.net, and will definitely update the package with any patches as I receive them. Just hold tight!

-Michael.

XenGi commented on 2018-04-03 13:20 (UTC)

The new update to 7.1.16 doesn't compile anymore. Here's the output: https://gist.github.com/XenGi/fd6050a915fcc002b2f2214058557d51

Some UnicodeError and other stuff.

muhviehstarr commented on 2018-04-02 16:45 (UTC)

maybe you should add bin links or add /opt/php71/usr/bin to PATH via an /etc/profile.d/ entry like this:

/etc/profile.d/php71.sh

!/bin/sh

export PATH=$PATH:/opt/php71/usr/bin

this will avoid fail updates like nextcloud which use the php binary for updates for users that only have installed php71

arakmar commented on 2018-03-30 08:05 (UTC)

Hi, A build fix since the latest icu update : https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/php&id=16c36238f69fd9729403a23c650016b424a37285

schlmm commented on 2018-03-28 15:30 (UTC)

also a systemd service would be nice thx

schlmm commented on 2018-03-28 15:29 (UTC)

could you rewrite it so the files are under /usr like in php70 and php56 package? would be nice

synthead commented on 2018-03-26 18:22 (UTC) (edited on 2018-03-26 19:01 (UTC) by synthead)

This package puts PHP 7.1 in /opt/php71, so it can be installed alongside the php package in the mirrors. I have also uploaded uwsgi-plugin-php71, php71-apcu, and php71-apcu-bc, which is enough to get ZoneMinder (and the API) working without issues.

snike commented on 2018-03-23 03:36 (UTC)

Knowing the source and having checked the integrity manually, I went with

makepkg --skipinteg

Thanks for maintaining this package