Package Details: php74-bcmath 7.4.33-5

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.008974
First Submitted: 2021-01-31 11:48 (UTC)
Last Updated: 2024-03-27 14:57 (UTC)

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:

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')

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

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

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

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

  4. 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 priority

  5. Modules: mysqlnd, mysqli and pdo_mysql are moved to single package php74-mysql

  6. php74-xsl requires php74-xml and php74-dom to be installed

  7. php74-enchant build with dependencies: libvoikko, hspell, hunspell, nuspell, aspell

Latest Comments

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

hoax commented on 2022-01-31 10:10 (UTC)

@tompear thanks but didn't work for me, still the same error.

tompear commented on 2022-01-31 09:43 (UTC)

@hoax try to uninstall existing version of php74 and install it again. I did it and all tests were done as expected and installation finished properly. I dont know why this one test were failing again and again.

Make copy of /etc/php74, if you uninstall php74 some files will be removed so if you dont want to configure all from the beginning copy it. Reconfiguration didnt take much time.

hoax commented on 2022-01-31 08:51 (UTC)

can confirm tompear's build issue.

why exactly were those structural changes necessary?

el_aur commented on 2022-01-27 21:28 (UTC)

@continum mysqli, pdo_mysql are combined to singe php74-mysql subpackage

continum4 commented on 2022-01-27 19:07 (UTC)

What happened to mysqli?, it is not available in the modules.

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

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

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

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

  4. 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 priority

  5. Modules: mysqlnd, mysqli and pdo_mysql are moved to single package php74-mysql

  6. php74-xsl requires php74-xml and php74-dom to be installed

  7. php74-enchant build with dependencies: libvoikko, hspell, hunspell, nuspell, aspell

pfrenssen commented on 2022-01-26 21:32 (UTC)

@el_aur There has been a big overhaul of the way PHP 7.4 needs to be installed, and many things work differently now. Would it be possible to publish a list of breaking changes?

el_aur commented on 2022-01-26 11:48 (UTC) (edited on 2022-01-26 16:44 (UTC) by el_aur)

@tompear: built in clean chroot and got

=====================================================================
Number of tests : 3672              3603
Tests skipped   :   69 (  1.9%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    0 (  0.0%) (  0.0%)
Expected fail   :    7 (  0.2%) (  0.2%)
Tests passed    : 3596 ( 97.9%) ( 99.8%)
---------------------------------------------------------------------
Time taken      :  159 seconds
=====================================================================

=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
Test open_basedir configuration [tests/security/open_basedir_linkinfo.phpt]  XFAIL REASON: BUG: open_basedir cannot delete symlink to prohibited file. See also
bugs 48111 and 52176.
Inconsistencies when accessing protected members [Zend/tests/access_modifiers_008.phpt]  XFAIL REASON: Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2
Inconsistencies when accessing protected members - 2 [Zend/tests/access_modifiers_009.phpt]  XFAIL REASON: Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2
Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770.phpt]  XFAIL REASON: See Bug #48770
Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770_2.phpt]  XFAIL REASON: See Bug #48770
Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770_3.phpt]  XFAIL REASON: See Bug #48770
Initial value of static var in method depends on the include time of the class definition [Zend/tests/method_static_var.phpt]  XFAIL REASON: Maybe not a bug
=====================================================================

Results in non-chroot:

=====================================================================
Number of tests : 3672              3601
Tests skipped   :   71 (  1.9%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    0 (  0.0%) (  0.0%)
Expected fail   :    7 (  0.2%) (  0.2%)
Tests passed    : 3594 ( 97.9%) ( 99.8%)
---------------------------------------------------------------------
Time taken      :  163 seconds
=====================================================================

=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
Test open_basedir configuration [tests/security/open_basedir_linkinfo.phpt]  XFAIL REASON: BUG: open_basedir cannot delete symlink to prohibited file. See also
bugs 48111 and 52176.
Inconsistencies when accessing protected members [Zend/tests/access_modifiers_008.phpt]  XFAIL REASON: Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2
Inconsistencies when accessing protected members - 2 [Zend/tests/access_modifiers_009.phpt]  XFAIL REASON: Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2
Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770.phpt]  XFAIL REASON: See Bug #48770
Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770_2.phpt]  XFAIL REASON: See Bug #48770
Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770_3.phpt]  XFAIL REASON: See Bug #48770
Initial value of static var in method depends on the include time of the class definition [Zend/tests/method_static_var.phpt]  XFAIL REASON: Maybe not a bug
=====================================================================

el_aur commented on 2022-01-26 10:49 (UTC)

@tompear looking on this issue

tompear commented on 2022-01-26 10:29 (UTC) (edited on 2022-01-26 10:33 (UTC) by tompear)

Cant build php74 now cus one test is failing all time:

=====================================================================
Number of tests : 3672              3601
Tests skipped   :   71 (  1.9%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 (  0.0%) (  0.0%)
Expected fail   :    7 (  0.2%) (  0.2%)
Tests passed    : 3593 ( 97.8%) ( 99.8%)
---------------------------------------------------------------------
Time taken      :   65 seconds
=====================================================================

=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
Inconsistencies when accessing protected members 
[Zend/tests/access_modifiers_008.phpt]  XFAIL REASON: Discussion: 
http://marc.info/?l=php-internals&m=120221184420957&w=2
Inconsistencies when accessing protected members - 2 
[Zend/tests/access_modifiers_009.phpt]  XFAIL REASON: Discussion: 
http://marc.info/?l=php-internals&m=120221184420957&w=2
Test open_basedir configuration [tests/security/open_basedir_linkinfo.phpt]  
XFAIL REASON: BUG: open_basedir cannot delete symlink to prohibited file. 
See also
bugs 48111 and 52176.
Bug #48770 (call_user_func_array() fails to call parent from inheriting 
class) [Zend/tests/bug48770.phpt]  XFAIL REASON: See Bug #48770
Bug #48770 (call_user_func_array() fails to call parent from inheriting 
class) [Zend/tests/bug48770_2.phpt]  XFAIL REASON: See Bug #48770
Bug #48770 (call_user_func_array() fails to call parent from inheriting 
class) [Zend/tests/bug48770_3.phpt]  XFAIL REASON: See Bug #48770
Initial value of static var in method depends on the include time of the 
class definition [Zend/tests/method_static_var.phpt]  XFAIL REASON: Maybe 
not a bug
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #79919 (Stack use-after-scope in define()) [Zend/tests/bug79919.phpt]
=====================================================================
make: *** [Makefile:307: test] Błąd 1
==> BŁĄD: Wystąpił błąd w check().
Przerywam...
-> błąd podczas budowania: php74 (php74 php74-apache php74-cgi php74- 
dblib php74-embed php74-enchant php74-fpm php74-gd php74-imap php74-intl 
php74-pdo php74-odbc php74-pgsql php74-phpdbg php74-pspell php74-snmp php74- 
sodium php74-sqlite php74-tidy php74-xml php74-xsl)`