|
Server : LiteSpeed System : Linux server354.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 User : getfsxkz ( 1681) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/alt/tests/alt-php84-phpiredis_1.0.1-1.el8/ |
Upload File : |
--TEST--
[CLIENT] Persistent and non-persistent connections (UNIX socket)
--SKIPIF--
<?php
require_once 'testsuite_skipif.inc';
if (!file_exists(REDIS_UNIX_SOCKET)) {
die('skip Cannot find UNIX domain socket file at ' . REDIS_UNIX_SOCKET);
}
--FILE--
<?php
require_once 'testsuite_utilities.inc';
create_phpiredis_connection(REDIS_UNIX_SOCKET, 9999);
create_phpiredis_connection(REDIS_UNIX_SOCKET, NULL);
create_phpiredis_connection(REDIS_UNIX_SOCKET, NULL, TRUE);
echo "OK" . PHP_EOL;
--EXPECT--
OK