diff --git a/src/XdebugHandler.php b/src/XdebugHandler.php index 37fc313..a665939 100644 --- a/src/XdebugHandler.php +++ b/src/XdebugHandler.php @@ -590,6 +590,11 @@ private function checkConfiguration(?string &$info): bool return false; } + if (!file_exists(PHP_BINARY)) { + $info = 'PHP_BINARY is not available'; + return false; + } + if (extension_loaded('uopz') && !((bool) ini_get('uopz.disable'))) { // uopz works at opcode level and disables exit calls if (function_exists('uopz_allow_exit')) {