to agree that looking too hard for a php binary is wrong)
$php = $_ENV["TOP_BUILDDIR"]."/sapi/cli/php{$ext}";
} elseif (@is_executable("./sapi/cli/php{$ext}")) {
$php = getcwd() . "/sapi/cli/php{$ext}";
+ } elseif (@is_executable(PHP_BINDIR . "/php{$ext}")) {
+ $php = PHP_BINDIR . "/php{$ext}";
}
// Test result can be bogus, if we use php binary in path. - yohgaki@php.net
// if (empty($php)) {
return $status;
}
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * indent-tabs-mode: t
+ * End:
+ */
?>