Not sure what I am not getting here:
▶ sudo pacman -U php73-7.3.33-6-x86_64.pkg.tar.xz php73-fpm-7.3.33-6-x86_64.pkg.tar.xz php73-cli-7.3.33-6-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing php73 (7.3.33-6) breaks dependency 'php' required by composer
I have installed
local/php73 7.3.33-1
A general-purpose scripting language that is especially suited to web development
local/php73-fpm 7.3.33-1
FastCGI Process Manager for PHP
Seems to me this AUR package doesn't provide a "php" dependency. Seems like I got to upgrade to PHP 7.4 anyway - I have a dependency to another server (and OS) running a patched PHP 7.3.
PHP 7.3 is EOL: https://www.php.net/supported-versions.php. I guess that should encourage me to move to a supported version.
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):
Then run the following as root
Refresh packages database
Now search for php packages you need:
Install with
pacman -S
packages you need or all PHP 7.3 packages with: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
Console version
/usr/bin/php73
is installed withphp73-cli
subpackage,php73
doesn't include it anymore!!!PEAR and PECL are available as
php73-pear
andphp73-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php73
package anymore.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