CURLOPT_ABSTRACT_UNIX_SOCKET
Constant • Added in PHP 7.3
CURLOPT_ABSTRACT_UNIX_SOCKET
is one of the accepted parameters for curl_setopt
parameter #2
.
CURLOPT_ABSTRACT_UNIX_SOCKET
— Enables the use of an abstract Unix domain socket instead of
establishing a TCP connection to a host and sets the path to
the given string
. This option shares the same semantics
as CURLOPT_UNIX_SOCKET_PATH
. These two options
share the same storage and therefore only one of them can be set
per handle.
Available as of PHP 7.3.0 and cURL 7.53.0.
CURLOPT_ABSTRACT_UNIX_SOCKET = 10264;
Changes to the CURLOPT_ABSTRACT_UNIX_SOCKET
Constant
PHP 7.3
- Constant added
CURLOPT_ABSTRACT_UNIX_SOCKET
Constant Availability
CURLOPT_ABSTRACT_UNIX_SOCKET
Constant AvailabilityPHP Version | Availability |
---|---|
PHP 8.5Future Release | Yes |
PHP 8.4Upcoming Release | Yes |
PHP 8.3Supported (Latest) | Yes |
PHP 8.2Supported | Yes |
PHP 8.1Security-Fixes Only | Yes |
PHP 8.0Unsupported | Yes |
PHP 7.4Unsupported | Yes |
PHP 7.3Unsupported | Yes |
PHP 7.2Unsupported | No |
PHP 7.1Unsupported | No |
PHP 7.0Unsupported | No |
PHP 5.6Unsupported | No |
PHP 5.5Unsupported | No |
PHP 5.4Unsupported | No |
PHP 5.3Unsupported | No |