Package Details: php73-posix 7.3.33-12

Git Clone URL: https://aur.archlinux.org/php73.git (read-only, click to copy)
Package Base: php73
Description: posix module for php73
Upstream URL: http://www.php.net
Licenses: PHP
Submitter: matth
Maintainer: matth (el_aur)
Last Packager: el_aur
Votes: 11
Popularity: 0.000772
First Submitted: 2019-12-24 17:08 (UTC)
Last Updated: 2024-05-24 12:36 (UTC)

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

[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 php73

Install with pacman -S packages you need or all PHP 7.3 packages with:

sudo pacman -S $(pacman -Ssq | grep '^php73')

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

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

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

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

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

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

mdcclxv commented on 2024-06-14 10:02 (UTC)

I managed to build the package. First you need to apply the following patch (credits go to loqs):

diff --git a/PKGBUILD b/PKGBUILD
index d66bf15..3a64b56 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -532,7 +532,7 @@ _build_sapi() {
 # BUILD them all
 ################################################################################
 build() {
-    export CFLAGS="${CFLAGS} -fPIC -Wno-error=incompatible-pointer-types"
+    export CFLAGS="${CFLAGS} -fPIC -Wno-error=incompatible-pointer-types -Wno-error=int-conversion"
     export CXXFLAGS="${CXXFLAGS} -fPIC -Wno-error=incompatible-pointer-types -std=c++17"
     export EXTENSION_DIR="/usr/lib/${pkgbase}/modules"
     if ((_build_openssl_v10_patch)); then

Command for aplying the patch (credits go to gromit):

patch -Np1 < path/to/patchfile

Then, pear and pecl will fail, I commented them out from PKGBUILD, since I don't use them. Finally:

makepkg --install

mdcclxv commented on 2024-05-25 10:16 (UTC)

Same build error for me as well.

heimer16 commented on 2024-05-24 15:57 (UTC)

build is failing for me

/e/aur/php73/src/php-7.3.33/main/reentrancy.c: In function ‘php_readdir_r’:
/e/aur/php73/src/php-7.3.33/main/reentrancy.c:125:9: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
  125 |         readdir_r(dirp, entry);
      |         ^~~~~~~~~
In file included from /e/aur/php73/src/php-7.3.33/Zend/zend_virtual_cwd.h:76,
                 from /e/aur/php73/src/php-7.3.33/main/php.h:466,
                 from /e/aur/php73/src/php-7.3.33/main/php_reentrancy.h:22,
                 from /e/aur/php73/src/php-7.3.33/main/reentrancy.c:26:
/usr/include/dirent.h:185:12: note: declared here
  185 | extern int readdir_r (DIR *__restrict __dirp,
      |            ^~~~~~~~~
/e/aur/php73/src/php-7.3.33/main/reentrancy.c:125:9: error: too few arguments to function ‘readdir_r’
  125 |         readdir_r(dirp, entry);
      |         ^~~~~~~~~
/usr/include/dirent.h:185:12: note: declared here
  185 | extern int readdir_r (DIR *__restrict __dirp,
      |            ^~~~~~~~~
make: *** [Makefile:2434: main/reentrancy.lo] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

el_aur commented on 2023-07-13 20:27 (UTC)

@jfrstnc opensuse hosting seems to be buggy :( unfortunately

jfrstnc commented on 2023-07-04 13:32 (UTC) (edited on 2023-07-04 13:36 (UTC) by jfrstnc)

Fails with error: failed to commit transaction (invalid or corrupted package (checksum)).
SigLevel = Never in pacman.conf doesn't help.

These 43 modules seem to be corrupted.

  • php73-7.3.33-10-x86_64.pkg.tar.zst
  • php73-apache-7.3.33-10-x86_64.pkg.tar.zst
  • php73-cgi-7.3.33-10-x86_64.pkg.tar.zst
  • php73-cli-7.3.33-10-x86_64.pkg.tar.zst
  • php73-curl-7.3.33-10-x86_64.pkg.tar.zst
  • php73-dba-7.3.33-10-x86_64.pkg.tar.zst
  • php73-xml-7.3.33-10-x86_64.pkg.tar.zst
  • php73-dom-7.3.33-10-x86_64.pkg.tar.zst
  • php73-embed-7.3.33-10-x86_64.pkg.tar.zst
  • php73-exif-7.3.33-10-x86_64.pkg.tar.zst
  • php73-fileinfo-7.3.33-10-x86_64.pkg.tar.zst
  • php73-pdo-7.3.33-10-x86_64.pkg.tar.zst
  • php73-fpm-7.3.33-10-x86_64.pkg.tar.zst
  • php73-ftp-7.3.33-10-x86_64.pkg.tar.zst
  • php73-gd-7.3.33-10-x86_64.pkg.tar.zst
  • php73-gmp-7.3.33-10-x86_64.pkg.tar.zst
  • php73-iconv-7.3.33-10-x86_64.pkg.tar.zst
  • php73-imagick-3.7.0-1-x86_64.pkg.tar.zst
  • php73-imap-7.3.33-10-x86_64.pkg.tar.zst
  • php73-interbase-7.3.33-10-x86_64.pkg.tar.zst
  • php73-intl-7.3.33-10-x86_64.pkg.tar.zst
  • php73-json-7.3.33-10-x86_64.pkg.tar.zst
  • php73-ldap-7.3.33-10-x86_64.pkg.tar.zst
  • php73-litespeed-7.3.33-10-x86_64.pkg.tar.zst
  • php73-mbstring-7.3.33-10-x86_64.pkg.tar.zst
  • php73-mysql-7.3.33-10-x86_64.pkg.tar.zst
  • php73-odbc-7.3.33-10-x86_64.pkg.tar.zst
  • php73-opcache-7.3.33-10-x86_64.pkg.tar.zst
  • php73-phar-7.3.33-10-x86_64.pkg.tar.zst
  • php73-pear-7.3.33-10-x86_64.pkg.tar.zst
  • php73-pgsql-7.3.33-10-x86_64.pkg.tar.zst
  • php73-phpdbg-7.3.33-10-x86_64.pkg.tar.zst
  • php73-redis-5.3.7-1-x86_64.pkg.tar.zst
  • php73-simplexml-7.3.33-10-x86_64.pkg.tar.zst
  • php73-snmp-7.3.33-10-x86_64.pkg.tar.zst
  • php73-soap-7.3.33-10-x86_64.pkg.tar.zst
  • php73-sockets-7.3.33-10-x86_64.pkg.tar.zst
  • php73-sodium-7.3.33-10-x86_64.pkg.tar.zst
  • php73-sqlite-7.3.33-10-x86_64.pkg.tar.zst
  • php73-tidy-7.3.33-10-x86_64.pkg.tar.zst
  • php73-xdebug-3.1.5-1-x86_64.pkg.tar.zst
  • php73-xmlrpc-7.3.33-10-x86_64.pkg.tar.zst
  • php73-zip-7.3.33-10-x86_64.pkg.tar.zst

Example message, applies to all modules above:
:: File /var/cache/pacman/pkg/php73-xml-7.3.33-10-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (checksum)).

el_aur commented on 2023-02-21 12:14 (UTC)

Db5.3 is used now and builds correctly. Updated package

micwoj92 commented on 2023-01-04 17:04 (UTC)

@wgomg

this affects all php versions, see https://github.com/lamskoy/arch-phpbs/issues/7

wgomg commented on 2023-01-04 17:02 (UTC)

Having this error when trying to install

checking for DB4 major version... configure: error: Header contains different version
==> ERROR: Se produjo un fallo en build().
        Cancelando...

el_aur commented on 2022-11-05 21:09 (UTC)

Now builds fine against new openssl ;)