Page MenuHomeDevCentral

Enable sockets extension
ClosedPublic

Authored by dereckson on Mar 15 2023, 23:58.
Referenced Files
Unknown Object (File)
Mon, Apr 15, 06:32
Unknown Object (File)
Mon, Apr 15, 02:52
Unknown Object (File)
Wed, Apr 10, 14:59
Unknown Object (File)
Tue, Apr 9, 12:34
Unknown Object (File)
Sun, Apr 7, 21:02
Unknown Object (File)
Sat, Apr 6, 08:05
Unknown Object (File)
Fri, Apr 5, 13:06
Unknown Object (File)
Tue, Apr 2, 12:59

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