diff --git a/docs/en/guide/manual-build.md b/docs/en/guide/manual-build.md index 80c4e95b..13038360 100644 --- a/docs/en/guide/manual-build.md +++ b/docs/en/guide/manual-build.md @@ -512,7 +512,7 @@ Here is an example of installing the tool: - Download and install UPX (Linux and Windows only): `bin/spc install-pkg upx` - Download and install nasm (Windows only): `bin/spc install-pkg nasm` -- Download and install go-mod-frankenphp: `bin/spc install-pkg go-mod-frankenphp` +- Download and install go-xcaddy: `bin/spc install-pkg go-xcaddy` ## Command - del-download diff --git a/docs/zh/guide/manual-build.md b/docs/zh/guide/manual-build.md index 230680ce..0db0bc86 100644 --- a/docs/zh/guide/manual-build.md +++ b/docs/zh/guide/manual-build.md @@ -460,7 +460,7 @@ bin/spc dev:sort-config ext - 下载安装 UPX(仅限 Linux 和 Windows): `bin/spc install-pkg upx` - 下载安装 nasm(仅限 Windows): `bin/spc install-pkg nasm` -- 下载安装 go-mod-frankenphp: `bin/spc install-pkg go-mod-frankenphp` +- 下载安装 go-xcaddy: `bin/spc install-pkg go-xcaddy` ## 命令 del-download - 删除已下载的资源 diff --git a/src/SPC/builder/unix/UnixBuilderBase.php b/src/SPC/builder/unix/UnixBuilderBase.php index 27800cd8..0d56b0eb 100644 --- a/src/SPC/builder/unix/UnixBuilderBase.php +++ b/src/SPC/builder/unix/UnixBuilderBase.php @@ -317,7 +317,7 @@ abstract class UnixBuilderBase extends BuilderBase $nowatcher = $this->getLib('watcher') === null ? ',nowatcher' : ''; $xcaddyModules = getenv('SPC_CMD_VAR_FRANKENPHP_XCADDY_MODULES'); // make it possible to build from a different frankenphp directory! - if (!str_contains($xcaddyModules, '--with github.com/php/frankenphp')) { + if (!str_contains($xcaddyModules, '--with github.com/dunglas/frankenphp')) { $xcaddyModules = '--with github.com/dunglas/frankenphp ' . $xcaddyModules; } if ($this->getLib('brotli') === null && str_contains($xcaddyModules, '--with github.com/dunglas/caddy-cbrotli')) {