Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@michael-grunder

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions