Skip to content

Windows compatibility? #1

Closed
Closed
@8ctopus

Description

@8ctopus

Just discovered your php implementation of reorx's httpstat unfortunately it's not compatible with Windows as the posix module is (not available on Windows)[https://www.php.net/manual/en/intro.posix.php].

71 $ISATTY = posix_isatty(STDOUT);
Luna@Roxy MINGW64 /k/dev/github/php-httpstat (master)
$ php httpstat.php https://tass.ru
PHP Fatal error:  Uncaught Error: Call to undefined function posix_isatty() in K:\dev\github\php-httpstat\httpstat.php:71
Stack trace:
#0 {main}
  thrown in K:\dev\github\php-httpstat\httpstat.php on line 71

Fatal error: Uncaught Error: Call to undefined function posix_isatty() in K:\dev\github\php-httpstat\httpstat.php on line 71

Error: Call to undefined function posix_isatty() in K:\dev\github\php-httpstat\httpstat.php on line 71

Call Stack:
    0.4125     461880   1. {main}() K:\dev\github\php-httpstat\httpstat.php:0

Solving that problem, leads to other problems further down.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions