Page MenuHomeDevCentral

Enable sockets extension
ClosedPublic

Authored by dereckson on Mar 25 2023, 13:38.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 00:46
Unknown Object (File)
Fri, Nov 15, 21:47
Unknown Object (File)
Fri, Nov 15, 20:50
Unknown Object (File)
Fri, Nov 15, 20:42
Unknown Object (File)
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
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
No Lint Coverage
Unit
No Test Coverage
Branch
sockets
Build Status
Buildable 4596
Build 4868: arc lint + arc unit

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.