[
https://issues.apache.org/jira/browse/THRIFT-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945634#comment-17945634
]
Jens Geyer commented on THRIFT-1482:
------------------------------------
from https://github.com/apache/thrift/pull/3109:
{quote}
To open a unix socket, the port number supplied to fsockopen (and pfsockopen)
has to be -1.
We use substr instead of str_starts_with to keep compatibility with php 7.
{quote}
Thanks @balping for the patch
> Unix domain socket support under PHP
> ------------------------------------
>
> Key: THRIFT-1482
> URL: https://issues.apache.org/jira/browse/THRIFT-1482
> Project: Thrift
> Issue Type: New Feature
> Components: PHP - Library
> Affects Versions: 0.8
> Reporter: Asad Saeed
> Assignee: Jens Geyer
> Priority: Major
> Fix For: 0.10.0
>
>
> I would like to use Unix domain sockets under PHP for TSocket and
> TServerSocket. Currently only tcp can be used.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)