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 »

wget commented on 2018-08-10 09:37 (UTC)

@TomaszGasior I don't know. I cannot reproduce the issue. The GPG keys are being imported fine from my side even on a brand new Arch Linux test machine. Maybe checking n the GPG documentation could help. Maybe this is related to dirmngr? https://wiki.archlinux.org/index.php/GnuPG#gpg_hanged_for_all_keyservers_.28when_trying_to_receive_keys.29

TomaszGasior commented on 2018-07-28 11:51 (UTC)

@wget When I try to import keys by your command, I have a different error: "gpg: keyserver receive failed: General error". What should I do?

wget commented on 2018-07-03 16:01 (UTC)

Thanks tunght13488! Package update with your fixes. And indeed this is working :) On my side I realized the compilation of this package was happening on one CPU core and tweaked a bit the PKGBUILD in order to improve it even further.

tunght13488 commented on 2018-06-18 03:04 (UTC) (edited on 2018-06-18 03:04 (UTC) by tunght13488)

I managed to get configure using pkg-config instead of freetype-config: https://github.com/tunght13488/aur-php70/commit/4a0db6535088bac262560aa7378092586da3b533

tunght13488 commented on 2018-06-18 02:23 (UTC) (edited on 2018-06-18 02:24 (UTC) by tunght13488)

I tried adding --with-freetype-dir=/usr \ after --with-enchant=shared,/usr \ but the build failed with freetype-config not found. Looks like freetype-config is no longer available in freetype2 and we should use something like pkg-config --cflags freetype2 instead of freetype-config --cflags. I'm still trying to figure out how to do that during the build.

tunght13488 commented on 2018-06-18 02:06 (UTC) (edited on 2018-06-18 02:25 (UTC) by tunght13488)

Looks like v7.0.30 removed freetype support. Function imageftbbox is no longer available

wget commented on 2018-06-13 15:41 (UTC)

Thanks el_aur for the patch! I appreciate it. It has been applied. Anything else I should replace/correct?

el_aur commented on 2018-06-07 13:14 (UTC) (edited on 2018-06-07 13:14 (UTC) by el_aur)

There's issue with -embed package can you add there instrtuction to PKGBUILD:

mv ${pkgdir}/usr/lib/libphp7.so ${pkgdir}/usr/lib/libphp-70.so

just after

make -j1 INSTALL_ROOT=${pkgdir} PHP_SAPI=embed install-sapi

/usr/lib/libphp7.so is already owned by php package from native repo

wget commented on 2018-05-14 14:00 (UTC)

@rdoursenaud I started to implement the fix, but even with my bunch of regex to force the rename (see related commented lines in PKGBUILD), the build process still produce libphp7.so. Any help would be appreciated.

wget commented on 2018-05-14 13:59 (UTC)

@betrixed No problem.