summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-05-27 19:23:09 +0000
committerAntony Dovgal <tony2001@php.net>2007-05-27 19:23:09 +0000
commitccd16d09c045f9fbce3bd14a4fd6814536b8e389 (patch)
tree78fa05d37426bc4c66ef0919bae4e141f06d33c1 /sapi
parentbcc95ae09b316a71ee11788386dc6c1e8868c486 (diff)
downloadphp-git-ccd16d09c045f9fbce3bd14a4fd6814536b8e389.tar.gz
MFH
Diffstat (limited to 'sapi')
-rw-r--r--sapi/cgi/tests/include.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/cgi/tests/include.inc b/sapi/cgi/tests/include.inc
index 2a87321499..11bf8f3b81 100644
--- a/sapi/cgi/tests/include.inc
+++ b/sapi/cgi/tests/include.inc
@@ -30,9 +30,9 @@ function get_cgi_path() /* {{{ */
}
}
- if ($php_path && is_dir($php_path) && file_exists($php_path."/cgi/php") && is_executable($php_path."/cgi/php")) {
+ if ($php_path && is_dir($php_path) && file_exists($php_path."/cgi/php-cgi") && is_executable($php_path."/cgi/php-cgi")) {
/* gotcha */
- return $php_path."/cgi/php";
+ return $php_path."/cgi/php-cgi";
}
return false;
}