Package Base Details: php72

Git Clone URL: https://aur.archlinux.org/php72.git (read-only, click to copy)
Keywords: 7.2 php php7
Submitter: el_aur
Maintainer: el_aur
Last Packager: el_aur
Votes: 11
Popularity: 0.55
First Submitted: 2019-01-31 20:58 (UTC)
Last Updated: 2022-11-05 17:49 (UTC)

Pinned Comments

el_aur commented on 2022-02-03 18:56 (UTC) (edited on 2022-02-04 11:28 (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 php72

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

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

el_aur commented on 2022-01-27 12:11 (UTC) (edited on 2022-01-27 15:19 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

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

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

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

  4. No more extensions in php.ini itself!

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

They are loaded in correct order according to priority

Latest Comments

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

el_aur commented on 2022-02-03 18:56 (UTC) (edited on 2022-02-04 11:28 (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 php72

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

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

el_aur commented on 2022-01-27 12:11 (UTC) (edited on 2022-01-27 15:19 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

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

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

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

  4. No more extensions in php.ini itself!

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

They are loaded in correct order according to priority

el_aur commented on 2022-01-27 12:10 (UTC)

@miguelmsoler thanks for nice idea, will update packages soon

miguelmsoler commented on 2022-01-26 19:29 (UTC)

@el_aur better than that, you can change that line to:

sapi/cli/php -n -r 'echo ini_get("sendmail_path");' | grep -q `which sendmail`

The error was caused because sendmail was in /usr/sbin/ instead of /usr/bin

I think that changing that line would fix the issue for everyone as long as "which" returns the path for sendmail.

Thank you for highlighting the line that caused the problem.

Thank you for

el_aur commented on 2022-01-26 17:12 (UTC)

@miguelmsoler can you try with removing

 sapi/cli/php -n -r 'echo ini_get("sendmail_path");' | grep -q '/usr/bin/sendmail'

line

miguelmsoler commented on 2022-01-26 16:54 (UTC)

I could not install php72:

==> Starting check()...
~/.cache/aurutils/sync/php72/src/build-cli ~/.cache/aurutils/sync/php72/src
==> ERROR: A failure occurred in check().
    Aborting...

wgomg commented on 2022-01-24 20:03 (UTC)

@el_aur everything working ok now, thank you!

el_aur commented on 2022-01-24 19:37 (UTC)

@wgomg updated package, try to rebuild now

wgomg commented on 2022-01-24 15:03 (UTC)

Thank you @el_aur , installed now and problem fixed, but now having problems with php72-mysql, php72-openssl not found.