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 »

contreras.joseja commented on 2020-07-31 16:14 (UTC)

$ gpg --keyserver hkp://hkps.pool.sks-keyservers.net:80 --recv-keys 1A4E8B7277C42E53DBA9C7B9BCAA30EA9C0D5763 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3

wget commented on 2019-09-15 14:49 (UTC)

@gchamon I haven't been able to reproduce the problem. Could you test on a fresh ArchLinux VM?

gchamon commented on 2019-05-08 13:54 (UTC)

problem with ICU v63 was with extensions installed with pecl. Uninstalling ICU63 and reinstalling extensions is also a viable solution.

The problem with the Test open_basedir configuration still persists, but looking at bug 52176 it is related with symbolic links. My .cache is stored offsite, in a secondary hard drive's partition, and the way it is being mounted might be causing issues, but I can't confirm without reverting .cache back to my ssd, I don't think it is worth the hassle. Any updates I can install by just disabling tests, I know it is unsafe, but if I was really concerned with safety I would either be using a container or wouldn't be using an outdated php version at all.

thanks

wget commented on 2019-04-28 22:33 (UTC)

@gchamon I updated the package. Could you please retry from your side? The freeetype bug should be solved. But the one with icu, I cannot reproduce. :-/

gchamon commented on 2019-04-08 15:22 (UTC)

icu updated to v.64 and broke php70 in general

solution is to install package icu63 until php70 adds icu63 as a dependency

gchamon commented on 2019-04-08 14:40 (UTC)

After recent system update, a test started failing

Test open_basedir configuration

Also cannot enable intl and mongodb drivers due to missing icu driver (cannot reproduce error right now because php70 refuses to install)

gchamon commented on 2019-02-11 12:19 (UTC)

@wget package installed successfully. Thanks for maintaing this! This is a recurrent conversation topic where I work, why oh why must there be a migration guide for upgrading php between minor versions. Anyway thanks!

wget commented on 2019-02-10 17:46 (UTC)

@gchamon @CaffeinatedTech Sorry for the delay. Actually I fixed the issue you reported the same week you reported the it to me, but forgot to push the fix. :D Done. Let me know if there are other issues.

CaffeinatedTech commented on 2019-02-01 08:06 (UTC)

Yep @gchamon I had to install sendmail to get mine to update also. Thank you. It'd be nice if it told you what failed at the end, because it scrolls for about four kilometers before failing.

gchamon commented on 2019-01-10 22:05 (UTC)

this extension recently updated to 7.0.33-2 and I couldn't update due to some undocumented error in check procedure. Analysing check in PKGBUILD, it only checked for sendmail and ran php tests. I found out then that sendmail was not installed in my system and installing it allowed me to update this package. Sendmail should, therefore, be a package dependency or at least the user should be warned that sendmail is not installed