Package Base Details: php70

Git Clone URL: https://aur.archlinux.org/php70.git (read-only, click to copy)
Submitter: betrixed
Maintainer: wget (el_aur)
Last Packager: el_aur
Votes: 11
Popularity: 0.000000
First Submitted: 2017-02-05 08:12 (UTC)
Last Updated: 2023-11-23 15:34 (UTC)

Pinned Comments

el_aur commented on 2022-02-03 18:46 (UTC) (edited on 2022-02-04 11:29 (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 php70

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

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

el_aur commented on 2022-02-03 18:45 (UTC) (edited on 2023-02-21 12:42 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

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

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

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

  4. No more extensions in php.ini itself!

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

They are loaded in correct order according to priority

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

malina commented on 2018-03-30 12:48 (UTC)

wget, many thanks for php70 (7.0.28) pkgbuild repo - you saved me a lot of time

lilmike commented on 2018-03-12 08:28 (UTC)

Hi all, I've just created a php71 package that doesn't conflict with php 7.2 (or any other php version to my knowledge). It's called php71-noconflict (and php71-[...]-noconflict). Let me know if you have any feedback. Hope people find it useful! -Michael.

wget commented on 2018-03-09 10:51 (UTC)

Package upgraded to 7.0.28: https://github.com/wget/archlinux-aur-php70

ncoder-2 commented on 2018-02-06 15:17 (UTC)

This is broken without the patch by @wget.

wget commented on 2018-02-01 11:54 (UTC)

Hello everyone. Could someone merge this commit in this package? https://github.com/wget/archlinux-aur-php70/commit/13d6560cdb713e842de659d7e811678f51265a1b Otherwise, without this enchant 2 fix, php 7.0 cannot be built on Arch Linux. Thanks a lot :)

broiniac commented on 2018-01-18 11:14 (UTC) (edited on 2018-01-18 11:17 (UTC) by broiniac)

@Varakh: php7.1 for some reason is available in Community repo for 9 days now: https://www.archlinux.org/packages/community/x86_64/php71/ Unfortunately it is in conflict with regular (up-to-date) php (v7.2).

+1 though to your request - having nice, non conflicting 7.1 version would be nice.

I did tried to compile it by myself using same pkbuild as this package doing proper source and checksum changes, but I've failed. Epicly.

Varakh commented on 2018-01-09 09:11 (UTC)

@betrixed: Thanks for maintaining the package, very useful as PHP 7.2 breaks several old applications. Do you plan to provide a PHP 7.1 package aswell? This would be very nice. I already tried building it myself using old PKGBUILD files of the official repository, but I didn't get it running.

rio commented on 2017-12-25 06:56 (UTC)

I guess in all packages we should just have provides directives with ${pkgbase} replaced by ${_pkgbase} since no package should have dependencies on php70-foo anyway. Note that the current PKGBUILD already does this for php-cgi.

Raansu commented on 2017-12-23 08:34 (UTC)

Manually applying the fix mentioned by @teekay fixes the issue for me and Nextcloud installs without issue.

Raansu commented on 2017-12-23 07:30 (UTC) (edited on 2017-12-23 07:36 (UTC) by Raansu)

Even though I have this package installed I get an error trying to install Nextcloud, something needs to be fixed.

[kumo@kumo ~]$ sudo pacman -S nextcloud
resolving dependencies...
warning: cannot resolve "php-gd<7.2", a dependency of "nextcloud"
:: The following package cannot be upgraded due to unresolvable dependencies:
      nextcloud