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 2 3 4 5 6 7 8 9 10 Next › Last »

ltskinol commented on 2018-06-10 17:32 (UTC)

Thank you lilmike! Works.

lilmike commented on 2018-06-10 06:28 (UTC)

I've gone ahead and removed postfix from makedepends. On my system it builds fine without it, and it's not in any dependancy list for the packages, so I'm not sure why it was there to begin with.

ltskinol commented on 2018-06-10 05:32 (UTC) (edited on 2018-06-10 05:32 (UTC) by ltskinol)

Hi - is this fixable? Thanks!

:: postfix and ssmtp are in conflict ==> ERROR: 'pacman' failed to install missing dependencies.

lilmike commented on 2018-05-27 12:47 (UTC)

Patch added and updated to 7.1.18. Thanks!

schlmm commented on 2018-05-27 12:19 (UTC)

heres the patch gentoo is using https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-lang/php/files/php-freetype-2.9.1.patch like in the php56 aur package

lilmike commented on 2018-05-26 17:23 (UTC)

Correction: forgot to mention, 2 of the diffs have one hunk fail, along with the no configure.ac issue.

lilmike commented on 2018-05-26 17:23 (UTC)

Hmmm, I'm having trouble getting the patch to apply. I've checked out php-7.1.18 tag from git.php.net/repository/php-src.git, and it still happens. I've also got no configure.ac which the patch seems to want to patch. Anyone got a different or better patch?

lilmike commented on 2018-05-24 03:28 (UTC)

Working on getting the patch added (though it's a bit of work because the patch doesn't modify configure directly like the PKGBUILD would need to do). Will bump the PKGREL and post here when it's done.

JohnMaguire commented on 2018-05-23 18:30 (UTC)

As mentioned on php71-noconflict by @schlmm, it would be nice if this could include the following patches for freetype-config:

https://bugs.archlinux.org/task/58447 https://bugs.php.net/bug.php?id=76324

However, in the meantime, I was able to get this installed by creating a file /usr/sbin/freetype-config containing:

#!/bin/sh

/usr/sbin/pkg-config freetype2 $@

JohnMaguire commented on 2018-05-23 18:29 (UTC) (edited on 2018-05-23 18:31 (UTC) by JohnMaguire)

Without the patches @schlmm mentioned, I was able to get past the free-type config error by creating a file /usr/sbin/freetype-config containing:

#!/bin/sh

/usr/sbin/pkg-config freetype2 $@