mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-18 11:26:10 +08:00
fix: fix issue with install sg16 error (#8869)
Refs https://github.com/1Panel-dev/1Panel/issues/8817
This commit is contained in:
parent
71d92c30e3
commit
93d45bf36f
1 changed files with 7 additions and 0 deletions
|
@ -83,6 +83,13 @@ func handlePHP(create request.RuntimeCreate, runtime *model.Runtime, fileOp file
|
|||
_ = fileOp.DeleteDir(projectDir)
|
||||
}
|
||||
}()
|
||||
|
||||
version, ok := create.Params["PHP_VERSION"]
|
||||
if ok {
|
||||
extensionsDir := path.Join(projectDir, "extensions", getExtensionDir(version.(string)))
|
||||
_ = fileOp.CreateDir(extensionsDir, 0644)
|
||||
}
|
||||
|
||||
composeContent, envContent, forms, err := handleParams(create, projectDir)
|
||||
if err != nil {
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue