Package Details: php72-sysvmsg 7.2.34-15

Git Clone URL: https://aur.archlinux.org/php72.git (read-only, click to copy)
Package Base: php72
Description: sysvmsg module for php72
Upstream URL: http://www.php.net
Keywords: 7.2 php php7
Licenses: PHP
Submitter: el_aur
Maintainer: el_aur
Last Packager: el_aur
Votes: 11
Popularity: 0.000034
First Submitted: 2019-01-31 20:58 (UTC)
Last Updated: 2024-03-27 14:58 (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 »

NAlien commented on 2021-11-25 15:54 (UTC) (edited on 2021-11-25 16:29 (UTC) by NAlien)

Error with new libicu70


: error: conflicting return type specified for ‘virtual UBool PHP::CodePointBreakIterator::operator==(const icu_70::BreakIterator&) const’
   39 |                 virtual UBool operator==(const BreakIterator& that) const;
      |                               ^~~~~~~~

Patch should be here -> https://github.com/mhei/packages/blob/6eecc3bd4c8e34e3986fde3f95ed88c784cd99eb/lang/php7/patches/1011-Accommodate-changes-to-canonicalized-forms-in-ICU-70_1.patch

Just applied this patch placed it in the directory with other patches like int.patch ->


From cd1447a6962496fca60a2f5e5d9cf4448575cc24 Mon Sep 17 00:00:00 2001
From: Ben Ramsey <ramsey@php.net>
Date: Tue, 19 Oct 2021 23:59:11 -0500
Subject: [PATCH 1/4] Change UBool to bool for equality operators in ICU >=
 70.1

Refer to:
- https://github.com/unicode-org/icu/commit/633438f8da99fee815e2c61626ea779a84567a3d
- https://github.com/unicode-org/icu/commit/f6325d49ba57ec26f320b2865ce09ca47db458d9
---
 ext/intl/breakiterator/codepointiterator_internal.cpp | 4 ++++
 ext/intl/breakiterator/codepointiterator_internal.h   | 4 ++++
 2 files changed, 8 insertions(+)

--- a/ext/intl/breakiterator/codepointiterator_internal.cpp
+++ b/ext/intl/breakiterator/codepointiterator_internal.cpp
@@ -75,7 +75,11 @@ CodePointBreakIterator::~CodePointBreakI
    clearCurrentCharIter();
 }

+#if U_ICU_VERSION_MAJOR_NUM >= 70
+bool CodePointBreakIterator::operator==(const BreakIterator& that) const
+#else
 UBool CodePointBreakIterator::operator==(const BreakIterator& that) const
+#endif
 {
    if (typeid(*this) != typeid(that)) {
        return FALSE;
--- a/ext/intl/breakiterator/codepointiterator_internal.h
+++ b/ext/intl/breakiterator/codepointiterator_internal.h
@@ -39,7 +39,11 @@ namespace PHP {

        virtual ~CodePointBreakIterator();

+#if U_ICU_VERSION_MAJOR_NUM >= 70
+       virtual bool operator==(const BreakIterator& that) const;
+#else
        virtual UBool operator==(const BreakIterator& that) const;
+#endif

        virtual CodePointBreakIterator* clone(void) const;


And modified the PKGBUILD to this


--- #<buffer PKGBUILD>
+++ #<buffer newPKGBUILD>
@@ -13,7 +13,7 @@
              'postgresql-libs' 'sqlite' 'systemd' 'tidy' 'unixodbc' 'curl' 'libtool' 'freetds' 'pcre' 'libsodium')
 #checkdepends=('procps-ng')
 source=("https://php.net/distributions/${_pkgbase}-${pkgver}.tar.xz" 'intl.patch'
-        'apache.patch' 'apache.conf' 'php-fpm.patch' 'php-fpm.tmpfiles' 'php.ini.patch' 'enchant-2.patch' 'php-freetype-2.9.1.patch' )
+        'apache.patch' 'apache.conf' 'php-fpm.patch' 'php-fpm.tmpfiles' 'php.ini.patch' 'enchant-2.patch' 'php-freetype-2.9.1.patch' 'icu.patch' )

 prepare() {
     cd ${srcdir}/${_pkgbase}-${pkgver}
@@ -23,6 +23,7 @@
     patch -p1 -i ${srcdir}/enchant-2.patch
     patch -p1 -i ${srcdir}/php-freetype-2.9.1.patch
     patch -p1 -i ${srcdir}/intl.patch
+    patch -p1 -i ${srcdir}/icu.patch
 }

 build() {
@@ -358,4 +359,5 @@
          '406f7a3ef7f476e4a5c26e462e47b7c7'
          '4bf0b1296fc95947a11bef36fe76102a'
          'e3883dce91ed21e23a3d7ae9fa80216d'
-         'b40b82f55208eaead22dbfb64720b064')
+         'b40b82f55208eaead22dbfb64720b064'
+         '841b47a68763bd2d9b2ba94bc9df9576')

malacology commented on 2021-07-06 00:22 (UTC) (edited on 2021-07-06 00:35 (UTC) by malacology)

mkdir: cannot create directory 'ext/mbstring/libmbfl/filters/.libs': No such file or directory
make: *** [Makefile:1484: ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.lo] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Try again, then works

dev31 commented on 2021-04-29 10:17 (UTC)

how to install pdo_mysql ext for php7.2?

el_aur commented on 2021-01-15 10:18 (UTC) (edited on 2021-01-15 10:20 (UTC) by el_aur)

@Anagastes: Build is fine, check your icu library version

[el@archbox php72]$ ldd /usr/lib/php72/modules/intl.so | grep icu
    libicuio.so.68 => /usr/lib/libicuio.so.68 (0x00007fa850fc3000)
    libicui18n.so.68 => /usr/lib/libicui18n.so.68 (0x00007fa850ca4000)
    libicuuc.so.68 => /usr/lib/libicuuc.so.68 (0x00007fa850ab5000)
    libicudata.so.68 => /usr/lib/libicudata.so.68 (0x00007fa84ef74000)
[el@archbox php72]$ pacman -Qo /usr/lib/libicudata.so.68
/usr/lib/libicudata.so.68 is owned by icu 68.2-1

Latest php72 version is to be built with icu 68.2, but not with earlier version!

So just upgrade system before building php72 ;)

Anagastes commented on 2021-01-14 13:53 (UTC)

Cant compile latest version

/home/andre/.cache/yay/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c: In Funktion »zif_collator_sort«:
/home/andre/.cache/yay/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c:349:26: Fehler: »true« nicht deklariert (erste Verwendung in dieser Funktion)
  349 |  collator_sort_internal( true, INTERNAL_FUNCTION_PARAM_PASSTHRU );
      |                          ^~~~
/home/andre/.cache/yay/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c:349:26: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet
/home/andre/.cache/yay/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c: In Funktion »zif_collator_asort«:
/home/andre/.cache/yay/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c:543:26: Fehler: »false« nicht deklariert (erste Verwendung in dieser Funktion)
  543 |  collator_sort_internal( false, INTERNAL_FUNCTION_PARAM_PASSTHRU );
      |                          ^~~~~
make: *** [Makefile:1146: ext/intl/collator/collator_sort.lo] Fehler 1
make: *** Es wird auf noch nicht beendete Prozesse gewartet....
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
error making: php72

el_aur commented on 2020-12-28 21:16 (UTC) (edited on 2020-12-28 21:17 (UTC) by el_aur)

Updated with new version. Took solution from

https://759352.bugs.gentoo.org/attachment.cgi?id=677674

Related to icu library update

el_aur commented on 2020-12-28 21:11 (UTC) (edited on 2020-12-28 21:11 (UTC) by el_aur)

@messju getting error while building intl:

/home/el/_aur/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c: In function ‘zif_collator_sort’:
/home/el/_aur/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c:349:26: error: ‘TRUE’ undeclared (first use in this function)
  349 |  collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
      |                          ^~~~
/home/el/_aur/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c:349:26: note: each undeclared identifier is reported only once for each function it appears in
/home/el/_aur/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c: In function ‘zif_collator_asort’:
/home/el/_aur/php72/src/php-7.2.34/ext/intl/collator/collator_sort.c:543:26: error: ‘FALSE’ undeclared (first use in this function)
  543 |  collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
      |                          ^~~~~
make: *** [Makefile:1146: ext/intl/collator/collator_sort.lo] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

el_aur commented on 2020-12-28 19:52 (UTC)

updated to 7.2.34. Thanks @messju