@system7
It's some OBS bug unfortunately :( sometimes it helps with /etc/pacman.conf when I set XferCommand to use curl instead of default or wget:
XferCommand = /usr/bin/curl -L -C - -f -o %o %u
Git Clone URL: | https://aur.archlinux.org/php74.git (read-only, click to copy) |
---|---|
Package Base: | php74 |
Description: | bcmath module for php74 |
Upstream URL: | http://www.php.net |
Licenses: | PHP |
Submitter: | tompear |
Maintainer: | el_aur |
Last Packager: | el_aur |
Votes: | 10 |
Popularity: | 0.008445 |
First Submitted: | 2021-01-31 11:48 (UTC) |
Last Updated: | 2024-03-27 14:57 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »
@system7
It's some OBS bug unfortunately :( sometimes it helps with /etc/pacman.conf when I set XferCommand to use curl instead of default or wget:
XferCommand = /usr/bin/curl -L -C - -f -o %o %u
If I would update any php74 package I got this:
$ sudo pacman -S php74
Please touch the device.
resolving dependencies...
looking for conflicting packages...
Packages (1) php74-7.4.27-7
Total Download Size: 0.74 MiB
Total Installed Size: 5.02 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
php74-7.4.27-7-x86_64.pkg.tar.zst failed to download
error: failed retrieving file 'php74-7.4.27-7-x86_64.pkg.tar.zst' from download.opensuse.org : Maximum file size exceeded
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
@tompear Thank you! It works.
You have to rebuild php74-intl, new version of library is the reason.
Did anybody meet this problem?
$ php74 -i | grep intl
PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/lib/php74/modules/intl.so (libicuio.so.70: cannot open shared object file: No such file or directory), /usr/lib/php74/modules/intl.so.so (/usr/lib/php74/modules/intl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
/etc/php74/conf.d/20-intl.ini,
The php74-intl
and icu
has been installed. I do not have idea what is the problem w/ the package.
$ fd libicuio.so /
/usr/lib32/libicuio.so.71.1
/usr/lib32/libicuio.so.71
/usr/lib32/libicuio.so
/usr/lib/libicuio.so
/usr/lib/libicuio.so.71
/usr/lib/libicuio.so.71.1
$ ls -la /usr/lib/php74/modules/intl.so
-rwxr-xr-x 1 root root 455K Apr 15 17:26 /usr/lib/php74/modules/intl.so
Edit: Ehh... May I figured it out: the new version of libicuio? (71) :)
Has the signature changed?
error: php74-intl: signature for "home:el OBS Project <home:el@build.opensuse.org>" is invalid
@tompear thank you !
@aureolebigben you have to install php74-cli, its now a separate package.
Where is the php74 executable after install ?
Before, php executable was in /usr/bin. But after update i don't find it anywhere.
Now in /usr/bin i only have php-config74 php-fpm74 phpize74.
Created binary repository on build.opensuse.org
https://build.opensuse.org/project/show/home:el:archphp
Import PGP key first:
curl -s https://download.opensuse.org/repositories/home:/el:/archphp/Arch/x86_64/home_el_archphp_Arch.key | sudo pacman-key -a /dev/stdin
Append to /etc/pacman.conf:
[home_el_archphp_Arch]
SigLevel = Required TrustAll
Server = https://download.opensuse.org/repositories/home:/el:/archphp/Arch/x86_64/
Refresh packages database
pacman -Sy
Now search for php packages you need:
pacman -Ss php74
Install with pacman -S
packages you need or all PHP 8.1 packages with:
sudo pacman -S $(pacman -Ssq | grep '^php74')
Pinned Comments
el_aur commented on 2022-02-02 08:43 (UTC) (edited on 2022-02-02 18:11 (UTC) by el_aur)
Created binary repository on build.opensuse.org
https://build.opensuse.org/project/show/home:el:archphp
Import PGP key first:
Append to /etc/pacman.conf:
Refresh packages database
Now search for php packages you need:
Install with
pacman -S
packages you need or all PHP 8.1 packages with:el_aur commented on 2022-01-27 12:06 (UTC) (edited on 2022-02-01 21:33 (UTC) by el_aur)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php74
is installed withphp74-cli
subpackage,php74
doesn't include it anymore!!!PEAR and PECL are available as
php74-pear
andphp74-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php74
package anymore.No more extensions in php.ini itself! Separate INI files for each extension are placed in
/etc/php74/conf.d
They are loaded in correct order according to priorityModules: mysqlnd, mysqli and pdo_mysql are moved to single package
php74-mysql
php74-xsl
requiresphp74-xml
andphp74-dom
to be installedphp74-enchant
build with dependencies:libvoikko
,hspell
,hunspell
,nuspell
,aspell