Page MenuHomeDevCentral

Enable sockets extension
ClosedPublic

Authored by dereckson on Mar 25 2023, 13:38.
Tags
None
Referenced Files
F2827017: D2916.diff
Thu, Apr 18, 22:24
F2825488: D2916.id7430.diff
Thu, Apr 18, 16:35
F2825485: D2916.id7428.diff
Thu, Apr 18, 16:35
F2825484: D2916.id.diff
Thu, Apr 18, 16:35
F2824516: D2916.id7431.diff
Thu, Apr 18, 08:13
Unknown Object (File)
Wed, Apr 17, 18:03
Unknown Object (File)
Tue, Apr 16, 23:43
Unknown Object (File)
Mon, Apr 15, 05:28
Subscribers
None

Details

Summary

The sockets extension is used by php-amqplib, used by keruald/broker,
and so by Notifications Center to connect to RabbitMQ.

Jenkins PHP agents to run CI jobs for Notifications Center uses
this Docker image as base, so the sockets extension has to be added
in one of those two repositories.

Fedora PHP maintainers include sessions in the standard extensions package
php-common, so it's probably a good candidate here.

Reference: https://github.com/php-amqplib/php-amqplib/issues/608

Ref T1800

Test Plan

Run Notifications CI job

Diff Detail

Repository
rDPHPCLI nasqueron/php-cli Docker image
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
Dwellers
$ docker build .
[…]
 => => writing image sha256:a6682dbc98cdbbd455263de28a47da8147a06d57eee249d47493a87449b97d4e

$ docker run a6682dbc98cdbbd455263de28a47da8147a06d57eee249d47493a87449b97d4e php -i | grep -i sockets
Configure Command =>  './configure'  '--with-config-file-path=/usr/local/etc/php' '--with-config-file-scan-dir=/usr/local/etc/php/conf.d' '--disable-cgi' '--enable-mysqlnd' '--enable-bcmath' '--with-bz2' '--enable-calendar' '--with-curl' '--enable-gd' '--with-jpeg' '--enable-ftp' '--with-libedit' '--enable-mbstring' '--with-mysqli' '--with-pdo-mysql' '--enable-pcntl' '--with-openssl' '--with-xsl' '--with-readline' '--enable-sockets' '--with-zlib' '--with-zip' '--with-pear'
UNIX_SOCKETS => Yes
sockets
Sockets Support => enabled
This revision is now accepted and ready to land.Mar 25 2023, 14:00
This revision was automatically updated to reflect the committed changes.