Package Details: php73-tidy 7.3.33-12

Git Clone URL: https://aur.archlinux.org/php73.git (read-only, click to copy)
Package Base: php73
Description: tidy module for php73
Upstream URL: http://www.php.net
Licenses: PHP
Submitter: matth
Maintainer: matth (el_aur)
Last Packager: el_aur
Votes: 11
Popularity: 0.001367
First Submitted: 2019-12-24 17:08 (UTC)
Last Updated: 2024-05-24 12:36 (UTC)

Pinned Comments

el_aur commented on 2022-02-02 09:14 (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 php73

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

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

el_aur commented on 2022-01-27 12:08 (UTC) (edited on 2022-01-27 15:18 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

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

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

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

  4. No more extensions in php.ini itself!

Separate INI files for each extension are placed in /etc/php73/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-01-26 13:22 (UTC) (edited on 2022-01-26 13:26 (UTC) by el_aur)

@neoire yes. It's intended. I splitted to SAPI subpackages. Idea is that you might not always need CLI version of PHP, sometimes only Apache or FPM.

tpreissler commented on 2022-01-26 12:42 (UTC) (edited on 2022-01-26 12:44 (UTC) by tpreissler)

Many thanks for updating this and maintaining this package.

When yay -Syu on my machine ran automatically during the night I got this error (taken from Ansible/ara output):

    "Build complete.",
    "Don't forget to run 'make test'.",
    "",
    "~/.cache/yay/php73/src",
    "==> Starting check()...",
    "~/.cache/yay/php73/src/build-cli ~/.cache/yay/php73/src",
    "removing untracked AUR files from cache...",
    ":: \u001b[1mCleaning (1/1): /home/tomtom/.cache/yay/php73\u001b[0m",
    "Removing php-7.3.33.tar.xz"

And I can confirm this by a manual compilation locally. Also downloading the snapshot from here showed the same error.

I took a wild guess and ran

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

from the check() in the right directory - and it finished with an EC of 1. After commenting this line out makepkg -sfc runs fine now and it has compiled all just fine.

neoire commented on 2022-01-26 05:54 (UTC)

For those coming here because php command is gone after the latest update, one must now install php73-cli separately. @el_aur is this intended?

el_aur commented on 2022-01-25 10:13 (UTC)

@Teddytrombone should be working fine now. Implemented new PKGBUILD

Teddytrombone commented on 2021-12-01 09:19 (UTC)

With ICU 70.1 build for me is broken:

php-7.3.33/ext/intl/breakiterator/codepointiterator_internal.h:42:31: error: conflicting return type specified for 'virtual UBool PHP::CodePointBreakIterator::operator==(const icu_70::BreakIterator&) const'
42 |                 virtual UBool operator==(const BreakIterator& that) const;
   |

I got it working again by applying this patch from Gentoo: https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-lang/php/files/php-icu-70.patch

shahi commented on 2021-08-28 13:34 (UTC)

@vitiok78 @matth

when I try to update from Manjaro GUI it failed with error status

Error: Failed to prepare transaction: target not found: php73

Then I just only try to build php73 from terminal and it built successfully. Then I build the php73-apache php73-cgi php73-fpm.

It worked.

vitiok78 commented on 2021-08-27 06:58 (UTC)

@shahi

I didn't solve it and put the project in Docker

shahi commented on 2021-08-27 05:09 (UTC) (edited on 2021-08-27 05:14 (UTC) by shahi)

I am also facing the same problem as @vitiok78.

Error: Failed to prepare transaction: target not found: php73

How to solved it?

matth commented on 2021-08-03 18:20 (UTC)

@vitiok78

I don't know what that error would mean. It builds just fine for me in a clean chroot with extra-x86_64-build

vitiok78 commented on 2021-08-03 03:35 (UTC)

Can't update to the latest version

Error: Failed to prepare transaction: target not found: php73