Package Details: php71-ctype 7.1.33-11

Git Clone URL: https://aur.archlinux.org/php71.git (read-only, click to copy)
Package Base: php71
Description: ctype module for php71
Upstream URL: http://www.php.net
Keywords: 7.1 php
Licenses: PHP
Submitter: synthead
Maintainer: wget (el_aur)
Last Packager: el_aur
Votes: 12
Popularity: 0.000000
First Submitted: 2018-03-26 18:04 (UTC)
Last Updated: 2024-03-27 15:00 (UTC)

Pinned Comments

el_aur commented on 2022-02-03 18:48 (UTC) (edited on 2022-02-18 10:38 (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 php71

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

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

el_aur commented on 2022-02-03 18:47 (UTC) (edited on 2022-02-03 18:50 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

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

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

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

  4. No more extensions in php.ini itself!

Separate INI files for each extension are placed in /etc/php71/conf.d

They are loaded in correct order according to priority

Latest Comments

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

pgoetz commented on 2021-07-01 00:13 (UTC) (edited on 2021-07-01 00:13 (UTC) by pgoetz)

When I try to run

yay -S php71-mcrypt

I get the following error:

 enchant-2.2.15-4-x86_64.pkg.tar.zst failed to download
 Total ( 1/10)                     7.3 MiB  43.2 MiB/s 00:00 [################################] 100%
error: failed retrieving file 'enchant-2.2.15-4-x86_64.pkg.tar.zst' from mirrors.kernel.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.

shawe commented on 2021-02-12 12:31 (UTC) (edited on 2021-02-12 12:32 (UTC) by shawe)

I confirm solution by @reibeku it's working:

Replace:

build() {
    local phpConfig="\
        --srcdir=../${_pkgbase}-${pkgver} \
        --config-cache \

With:

build() {
        export CC="gcc -DTRUE=1 -DFALSE=0"
        export CXX="g++ -DTRUE=1 -DFALSE=0"
    local phpConfig="\
        --srcdir=../${_pkgbase}-${pkgver} \
        --config-cache \

reibeku commented on 2021-02-10 10:31 (UTC)

Please find the solution of error: ‘TRUE’ undeclared here: https://bbs.archlinux.org/viewtopic.php?pid=1955066#p1955066

Rtransat commented on 2021-02-06 22:06 (UTC) (edited on 2021-02-06 22:10 (UTC) by Rtransat)

I have the same error as pogacsa, for php70 and php71. I don't know how to fix this issues without compiling the source :/

pogacsa commented on 2021-01-19 17:49 (UTC)

It doesn't build for me. Gives the error attached below. It is maybe because of icu version 68.

There's a similar bug for php 7.4 and there is a fix in the comments which may help: https://bugs.php.net/bug.php?id=80310&edit=1

The error:

/bin/sh /var/tmp/pamac-build-gergo/php71/src/build/libtool --silent --preserve-dup-deps --mode=compile cc  -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/intl/ -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/intl/ -DPHP_ATOM_INC -I/var/tmp/pamac-build-gergo/php71/src/build/include -I/var/tmp/pamac-build-gergo/php71/src/build/main -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33 -I/var/tmp/pamac-build-gergo/php71/src/build/ext/date/lib -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/date/lib -I/usr/include/libxml2 -I/usr/include/enchant-2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/imap -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/mbstring/oniguruma -I/var/tmp/pamac-build-gergo/php71/src/build/ext/mbstring/oniguruma -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/mbstring/libmbfl -I/var/tmp/pamac-build-gergo/php71/src/build/ext/mbstring/libmbfl -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/mbstring/libmbfl/mbfl -I/var/tmp/pamac-build-gergo/php71/src/build/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/var/tmp/pamac-build-gergo/php71/src/build/TSRM -I/var/tmp/pamac-build-gergo/php71/src/build/Zend -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/main -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/Zend -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/TSRM -I/var/tmp/pamac-build-gergo/php71/src/build/  -D_FORTIFY_SOURCE=2  -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fvisibility=hidden -DZEND_SIGNALS    -c /var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/intl/collator/collator_is_numeric.c -o ext/intl/collator/collator_is_numeric.lo 
/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/intl/collator/collator_sort.c: In function ‘zif_collator_sort’:
/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/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 );
      |                          ^~~~
/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/intl/collator/collator_sort.c:349:26: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/intl/collator/collator_sort.c: In function ‘zif_collator_asort’:
/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/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:1136: ext/intl/collator/collator_sort.lo] Error 1
make: *** Waiting for unfinished jobs....
==> HIBA: Hiba történt a build()-ben.
    Megszakítás...

Ashly_Hamill commented on 2020-09-13 03:55 (UTC)

I use keyserver.ubuntu.com keyserver to resolve the GPG keyserver error

$ gpg --keyserver keyserver.ubuntu.com --recv-keys A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 1729F83938DA44E27BA0F4D3DBDB397470D12172

pdizzle commented on 2020-07-22 17:41 (UTC)

If this happens, just check your DNS or use other ones.

I have "checked" my DNS in that every domain I can try works. And i have tried adding cloudflare and Google DNS, still to no avail. any other suggestions?

paranoid73 commented on 2020-05-21 14:58 (UTC)

I used gpg --keyserver hkp://pgp.mit.edu --recv-key F9BA0ADA31CBD89E to resolve this error : $ gpg: keyserver receive failed: Connection refused

miguelmsoler commented on 2020-03-24 00:05 (UTC)

It does not work on my Arch installation. The check test for ini_get("sendmail_path"); expects to find it in /usr/bin/sendmail, but ini_get returns /usr/sbin/sendmail so the grep commands returns 1 and the check fails.

I had to comment that check in order to install it with aurutils.