Lines Matching refs:php
36 if ($php = getenv('PHP_BINARY')) {
37 if (!is_executable($php)) {
39 if ($php = strtok(exec($command.' '.escapeshellarg($php)), \PHP_EOL)) {
40 if (!is_executable($php)) {
48 if (@is_dir($php)) {
52 return $php;
63 if ($php = getenv('PHP_PATH')) {
64 if (!@is_executable($php) || @is_dir($php)) {
68 return $php;
71 if ($php = getenv('PHP_PEAR_PHP_BIN')) {
72 if (@is_executable($php) && !@is_dir($php)) {
73 return $php;
77 …if (@is_executable($php = \PHP_BINDIR.('\\' === \DIRECTORY_SEPARATOR ? '\\php.exe' : '/php')) && !…
78 return $php;