Page MenuHomeDevCentral

Enable sockets extension
ClosedPublic

Authored by dereckson on Mar 25 2023, 13:38.
Tags
None
Referenced Files
F3746323: D2916.id7430.diff
Fri, Nov 15, 20:14
Unknown Object (File)
Tue, Nov 12, 21:53
Unknown Object (File)
Sun, Nov 10, 18:07
Unknown Object (File)
Sun, Nov 10, 18:07
Unknown Object (File)
Sun, Nov 10, 02:49
Unknown Object (File)
Fri, Nov 8, 20:42
Unknown Object (File)
Thu, Nov 7, 23:12
Unknown Object (File)
Thu, Nov 7, 11:07
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.