From 6bc4ce43d0fe4878fd38a661100fac81178dc476 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sat, 19 Apr 2003 18:10:54 +0000 Subject: [PATCH] Do not hardcode php path. --- ext/standard/tests/file/bug22414.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/tests/file/bug22414.phpt b/ext/standard/tests/file/bug22414.phpt index 6902b643b1..a1462958d6 100644 --- a/ext/standard/tests/file/bug22414.phpt +++ b/ext/standard/tests/file/bug22414.phpt @@ -21,7 +21,7 @@ Bug #22414: passthru() does not read data correctly /* Binary Data Test */ @unlink($pwd . '/passthru_test'); - $cmd = "sapi/cli/php -r \\\" readfile(@getenv(TEST_PHP_EXECUTABLE)); \\\""; + $cmd = $php . " -r \\\" readfile(@getenv(TEST_PHP_EXECUTABLE)); \\\""; $cmd = $php . ' -r \' passthru("'.$cmd.'"); \' > ' . $pwd . '/passthru_test'; exec($cmd); -- 2.50.1