Sitelet https://github.com/phpredis/phpredis/issues/2507
Skip to content

how i can do these tests with TestRedis.php with php-cgi? #2507

Description

@michael-grunder

Discussed in #2506

Originally posted by osevan June 16, 2024
root@rac:~/compile# /opt/php-8.3/bin/php-cgi /root/compile/test/php-8.3.7/ext/phpredis/tests/TestRedis.php --test get
Status: 500 Internal Server Error
Content-type: text/html; charset=UTF-8

root@rac:~/compile# /root/compile/test/php-8.3.7/sapi/cgi/php-cgi -T1 /root/compile/test/php-8.3.7/ext/phpredis/tests/TestRedis.php --class Redis
Status: 500 Internal Server Error
Content-type: text/html; charset=UTF-8

Elapsed time: 0.000524 sec

With php binary itself , tests passed successfully

root@rl:~/compile# /opt/php-8.3/bin/php /root/compile/test/php-8.3.7/ext/phpredis/tests/TestRedis.php --test get
Note: these tests might take up to a minute. Don't worry :-)
Using PHP version 8.3.7 (64 bits)
Testing class Redis_Test
testGetSet [PASSED]
testGetLastError [PASSED]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions