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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy