Skip to content

Commit 5aa481a

Browse files
authored
chore: add suggested dependency on socket PHP extension because is required by UDP writer (#172)
* chore: add suggested dependency on ext-sockets because it is required by UDP writer Signed-off-by: Roman Ondráček <mail@romanondracek.cz> * docs: update changelog Signed-off-by: Roman Ondráček <mail@romanondracek.cz> --------- Signed-off-by: Roman Ondráček <mail@romanondracek.cz>
1 parent f6054bf commit 5aa481a

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.circleci/php.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ extension=openssl
934934
;extension=snmp
935935

936936
;extension=soap
937-
;extension=sockets
937+
extension=sockets
938938
;extension=sodium
939939
;extension=sqlite3
940940
;extension=tidy
@@ -1708,7 +1708,7 @@ zend.assertions = 1
17081708
;mbstring.http_output_conv_mimetype=
17091709

17101710
; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
1711-
; to the pcre.recursion_limit for PCRE.
1711+
; to the pcre.recursion_limit for PCRE.
17121712
; Default: 100000
17131713
;mbstring.regex_stack_limit=100000
17141714

@@ -1934,4 +1934,4 @@ ldap.max_links = -1
19341934

19351935
; Local Variables:
19361936
; tab-width: 4
1937-
; End:
1937+
; End:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
1. [#171](https://github.com/influxdata/influxdb-client-php/pull/171): Bring CI pipeline up to date.
99
- Remove PHP 7.2 from CI build.
1010
- Add PHP 8.5 to CI build.
11+
2. [#172](https://github.com/influxdata/influxdb-client-php/pull/172): Suggest dependency on `ext-sockets` for `InfluxDB2\UdpWriter`.
1112

1213
## 3.8.0 [2026-06-26]
1314

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
"guzzlehttp/guzzle": "^7.0.1",
2222
"guzzlehttp/psr7": "^2.0.0"
2323
},
24+
"suggest": {
25+
"ext-sockets": "Required for UDP writer."
26+
},
2427
"autoload": {
2528
"psr-4": {
2629
"InfluxDB2\\": "src/InfluxDB2"

0 commit comments

Comments
 (0)