Page MenuHomeDevCentral

Enable sockets extension
ClosedPublic

Authored by dereckson on Mar 15 2023, 23:58.
Referenced Files
F12372688: D2894.diff
Thu, Oct 30, 15:28
Unknown Object (File)
Sun, Oct 26, 00:02
Unknown Object (File)
Sat, Oct 25, 00:46
Unknown Object (File)
Tue, Oct 21, 17:12
Unknown Object (File)
Tue, Oct 21, 16:43
Unknown Object (File)
Tue, Oct 21, 04:46
Unknown Object (File)
Mon, Oct 20, 07:02
Unknown Object (File)
Mon, Oct 20, 06:54

Details

Summary

Notifications Center uses keruald/broker as an abstraction
layer to use a broker.

To connect to RabbitMQ, this library uses php-amqplib.
Recent php-amqplib versions uses the sockets extension.

It appears constants like SOCKET_EAGAIN are now defined
in the sockets extension.

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

Ref T1800

Test Plan

Build on Dwellers

php -i gives Sockets Support => enabled

Diff Detail

Repository
rDPHPFPM Docker image for Nginx, php-fpm
Lint
Lint Not Applicable
Unit
Tests Not Applicable