mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-12 03:15:35 +08:00
oopsie
This commit is contained in:
@@ -13,7 +13,7 @@ class xdebug extends Extension
|
|||||||
{
|
{
|
||||||
public function runSharedExtensionCheckUnix(): void
|
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) {
|
if ($ret !== 0) {
|
||||||
throw new RuntimeException('xdebug.so failed to load.');
|
throw new RuntimeException('xdebug.so failed to load.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user