Page MenuHomeDevCentral

Enable sockets extension
ClosedPublic

Authored by dereckson on Mar 15 2023, 23:58.
Referenced Files
F7585128: D2894.diff
Tue, Apr 29, 05:52
Unknown Object (File)
Mon, Apr 28, 03:46
Unknown Object (File)
Sun, Apr 27, 21:08
Unknown Object (File)
Sun, Apr 27, 18:17
Unknown Object (File)
Sun, Apr 27, 11:34
Unknown Object (File)
Sat, Apr 26, 12:09
Unknown Object (File)
Thu, Apr 24, 09:42
Unknown Object (File)
Wed, Apr 23, 23:55

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