This commit is contained in:
Marc
2025-05-16 00:24:18 +07:00
committed by GitHub
parent b402b735d6
commit 1ae27c7b5a

View File

@@ -13,7 +13,7 @@ class xdebug extends Extension
{
public function runSharedExtensionCheckUnix(): void
{
[$ret, $out] = shell()->execWithResult(BUILD_BIN_PATH . '/php -v');
[$ret, $out] = shell()->execWithResult(BUILD_BIN_PATH . '/php -n -d "zend_extension=' . BUILD_MODULES_PATH . '/xdebug.so" -v');
if ($ret !== 0) {
throw new RuntimeException('xdebug.so failed to load.');
}