Page MenuHomeDevCentral

Enable sockets extension
ClosedPublic

Authored by dereckson on Mar 15 2023, 23:58.
Referenced Files
Unknown Object (File)
Mon, Aug 11, 06:52
Unknown Object (File)
Sun, Aug 10, 19:27
Unknown Object (File)
Sun, Aug 10, 09:39
Unknown Object (File)
Sat, Aug 9, 12:59
Unknown Object (File)
Thu, Aug 7, 20:49
Unknown Object (File)
Tue, Aug 5, 21:34
Unknown Object (File)
Tue, Aug 5, 10:02
Unknown Object (File)
Tue, Aug 5, 10:01

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