Package Details: php81-sockets 8.1.31-1

Git Clone URL: https://aur.archlinux.org/php81.git (read-only, click to copy)
Package Base: php81
Description: sockets module for php81
Upstream URL: http://www.php.net
Keywords: 8.1 php php8
Licenses: PHP
Submitter: el_aur
Maintainer: el_aur
Last Packager: el_aur
Votes: 11
Popularity: 0.069670
First Submitted: 2021-12-01 12:54 (UTC)
Last Updated: 2024-11-29 13:05 (UTC)

Pinned Comments

el_aur commented on 2022-01-27 12:09 (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/php81 is installed with php81-cli subpackage, php81 doesn't include it anymore!!!

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

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

  4. No more extensions in php.ini itself!

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

They are loaded in correct order according to priority

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

gebeer commented on 2023-07-31 14:49 (UTC)

@el_aur key for repo at build.opensuse.org seems to have changed. Following your instructions, pacman -Syy results in:

error: home_el_archphp_Arch: signature from "home:el OBS Project <home:el@build.opensuse.org>" is invalid

DmitrySkibitsky commented on 2023-07-12 12:44 (UTC) (edited on 2023-07-12 12:46 (UTC) by DmitrySkibitsky)

@el_aur I have upgraded to version 8.1.21. Thank you.

PHP 8.1.21 (cli) (built: Jul 12 2023 07:01:12) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.21, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.21, Copyright (c), by Zend Technologies
php -m
[PHP Modules]
bcmath bz2 calendar Core ctype curl date dba dom enchant exif FFI fileinfo
filter ftp gd gettext gmp hash iconv imagick imap intl json ldap libxml mbstring
mysqli mysqlnd odbc openssl pcntl pcre PDO pdo_dblib PDO_Firebird pdo_mysql PDO_ODBC
pdo_pgsql pdo_sqlite pgsql Phar posix pspell readline redis Reflection session
shmop SimpleXML snmp soap sockets sodium SPL sqlite3 standard sysvmsg sysvsem sysvshm
tidy tokenizer xml xmlreader xmlwriter xsl Zend OPcache zip zlib
[Zend Modules] Zend OPcache

DmitrySkibitsky commented on 2023-07-12 09:53 (UTC) (edited on 2023-07-12 09:54 (UTC) by DmitrySkibitsky)

@el_aur Yes, I have aur/php81-cli (8.1.17-1) installed.
Currently trying to upgrade to php81-8.1.21-1

el_aur commented on 2023-07-12 08:23 (UTC)

@DmitrySkibitsky have you insalled php81-cli subpackage?

el_aur commented on 2023-07-11 20:42 (UTC)

Version bump. Added -fPIC

df8oe commented on 2023-06-25 07:03 (UTC)

Can you please add these lines at the top of your PKGBUILD?


    export CFLAGS="${CFLAGS} -fPIC" 
    export CXXFLAGS="${CXXFLAGS} -fPIC"

Without these php-imagick fails with segfault. This is related to a gcc bug in my opinion - but the gcc-devs say it is not a bug :(

DmitrySkibitsky commented on 2023-06-17 18:20 (UTC)

export CFLAGS="${CFLAGS} -fPIC" export CXXFLAGS="${CXXFLAGS} -fPIC"

That solved my problem

@Javlonbek Thank you

DmitrySkibitsky commented on 2023-06-17 18:02 (UTC)

php81 -v command not found: php81

No matter how many times I try to install, php-config81 prints "--php-binary [/usr/bin/php81]", but there is no php81 itself in that path. How do I solve this?

kescherAUR commented on 2023-06-06 19:27 (UTC)

@Javlonbek The workaround, for me, has been to put these two lines at the top of the PKGBUILD of php81 and fully rebuild php81.

export CFLAGS="${CFLAGS} -fPIC"
export CXXFLAGS="${CXXFLAGS} -fPIC"

You may or may not also have to reinstall any extensions.