diff options
Diffstat (limited to 'sapi/cgi/tests/include.inc')
| -rw-r--r-- | sapi/cgi/tests/include.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cgi/tests/include.inc b/sapi/cgi/tests/include.inc index 11bf8f3b8..2d8ed8a2e 100644 --- a/sapi/cgi/tests/include.inc +++ b/sapi/cgi/tests/include.inc @@ -8,7 +8,7 @@ function get_cgi_path() /* {{{ */ $cgi = false; if (file_exists($php) && is_executable($php)) { - $version = `$php -v`; + $version = `$php -n -v`; if (strstr($version, "(cli)")) { /* that's cli */ $cli = true; |
