--TEST--
FPM: Test IPv6 support
--SKIPIF--
-<?php include "skipif.inc"; ?>
+<?php include "skipif.inc";
+ @stream_socket_client('tcp://[::1]:0', $errno);
+ if ($errno != 111) die('skip IPv6 not supported.');
+?>
--FILE--
<?php
--TEST--
FPM: Test IPv4/IPv6 support
--SKIPIF--
-<?php include "skipif.inc"; ?>
+<?php include "skipif.inc";
+ @stream_socket_client('tcp://[::1]:0', $errno);
+ if ($errno != 111) die('skip IPv6 not supported.');
+?>
--FILE--
<?php
--TEST--
FPM: Test IPv4 allowed clients
--SKIPIF--
-<?php include "skipif.inc"; ?>
+<?php include "skipif.inc";
+ @stream_socket_client('tcp://[::1]:0', $errno);
+ if ($errno != 111) die('skip IPv6 not supported.');
+?>
--FILE--
<?php
--TEST--
FPM: Test IPv6 allowed clients (bug #68428)
--SKIPIF--
-<?php include "skipif.inc"; ?>
+<?php include "skipif.inc";
+ @stream_socket_client('tcp://[::1]:0', $errno);
+ if ($errno != 111) die('skip IPv6 not supported.');
+?>
--FILE--
<?php
--TEST--
FPM: Test IPv6 all addresses and access_log (bug #68421)
--SKIPIF--
-<?php include "skipif.inc"; ?>
+<?php include "skipif.inc";
+ @stream_socket_client('tcp://[::1]:0', $errno);
+ if ($errno != 111) die('skip IPv6 not supported.');
+?>
--FILE--
<?php