Package Details: php72-pgsql 7.2.34-15

Git Clone URL: https://aur.archlinux.org/php72.git (read-only, click to copy)
Package Base: php72
Description: PostgreSQL modules 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.000023
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 »

messju commented on 2020-11-11 16:27 (UTC) (edited on 2020-11-11 16:28 (UTC) by messju)

There was a new release on October 1st. I did this to upgrade:

diff --git a/PKGBUILD b/PKGBUILD
index 8dbbee8..68def49 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ _pkgbase=${pkgbase%72}
 _realpkg=${pkgbase%}
 pkgname=("${pkgbase}"
          "${_realpkg}-"{cgi,apache,fpm,embed,phpdbg,dblib,enchant,gd,imap,intl,odbc,pgsql,pspell,snmp,sqlite,tidy,xsl,sodium}"")
-pkgver=7.2.33
+pkgver=7.2.34
 pkgrel=1
 pkgdesc="php 7.2 compiled as to not conflict with mainline php"
 arch=('i686' 'x86_64')
@@ -349,7 +349,7 @@ package_php72-sodium() {
     depends=("${pkgbase}" 'libsodium')
     install -D -m755 ${srcdir}/build/modules/sodium.so ${pkgdir}/usr/lib/${_realpkg}/modules/sodium.so
 }
-md5sums=('8921fa6824dee6f261a3c832a43ea6ac'
+md5sums=('adb64072b9b7e4634844a72512239a34'
          '13cda50a6a420d04ddc26935ded3164e'
          'b7d69762f7c045b3950d770e04db504c'
          'f248c783449f310291905b5551c57e48'

GramachoGuy commented on 2020-07-15 20:44 (UTC)

How to install the pdo_firebird extension for php 7.2?

meister1337 commented on 2020-06-17 09:40 (UTC)

@el_aur thanks, the rebuild of php72 and php72-xsl fixed it.

el_aur commented on 2020-06-17 09:00 (UTC)

@meister1337 also don't forget to make pacman -Syu before building php72 to get latest versions of packages

el_aur commented on 2020-06-17 08:51 (UTC)

@meister1337 your error says that library icu was updated to new version. Just rebuild php72 package from AUR and install it again :)

df8oe commented on 2020-06-16 15:50 (UTC)

@meister1337 for me this is working... "No such file or directory" soungs like a misspelled module name.

meister1337 commented on 2020-06-16 15:47 (UTC)

@df8oe yes, it's included there. I tried it with extension=soap and extension=soap.so, but it still doesn't work.

df8oe commented on 2020-06-16 15:45 (UTC) (edited on 2020-06-16 15:46 (UTC) by df8oe)

Do you have included it in your php.ini using extension=soap.so ?
For xsl you first have to install php72-xsl and then follow the step above for xsl.so

meister1337 commented on 2020-06-16 15:35 (UTC) (edited on 2020-06-16 15:35 (UTC) by meister1337)

For me, the soap and xsl libraries are not getting loaded:

PHP Warning: PHP Startup: Unable to load dynamic library 'soap' (tried: /usr/lib/php72/modules/soap (/usr/lib/php72/modules/soap: cannot open shared object file: No such file or directory), /usr/lib/php72/modules/soap.so (libicui18n.so.65: cannot open shared object file: No such file or directory)) in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library 'xsl' (tried: /usr/lib/php72/modules/xsl (/usr/lib/php72/modules/xsl: cannot open shared object file: No such file or directory), /usr/lib/php72/modules/xsl.so (libicui18n.so.65: cannot open shared object file: No such file or directory)) in Unknown on line 0

df8oe commented on 2020-04-25 08:30 (UTC)

Many thanks -that fixed it!