Package Details: php72-fpm 7.2.34-6

Git Clone URL: https://aur.archlinux.org/php72.git (read-only, click to copy)
Package Base: php72
Description: FastCGI Process Manager for PHP
Upstream URL: http://www.php.net
Keywords: 7.2 php
Licenses: PHP
Submitter: el_aur
Maintainer: el_aur
Last Packager: el_aur
Votes: 9
Popularity: 0.000014
First Submitted: 2019-01-31 20:58
Last Updated: 2021-12-16 16:16

Latest Comments

1 2 3 4 5 Next › Last »

Manu-sh commented on 2021-11-30 19:05

Thanks NAlien

el_aur commented on 2021-11-30 18:31

Thanks. Updated PKGBUILD

NAlien commented on 2021-11-25 15:54

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

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

how to install pdo_mysql ext for php7.2?

el_aur commented on 2021-01-15 10:18

@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

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

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

@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

updated to 7.2.34. Thanks @messju