1Panel-dev / 1Panel-dev/1Panel

[Bug] docker-php-ext-install install mysqli failed

Open
#13,184 3 comments 0 reactions 1 assignee View on GitHub

@wanghe-fit2cloud is already working on this.

Since Jul 2, 2026.

type: question
Dominant language
Go
Stars
37k
Forks
3.4k
Avg merge
9h 16m
Merged PRs (30d)
105

Description

Contact Information

No response

1Panel Version

2.2.2

Problem Description

php85
config-set succeeded

PHP version : 8.5.7
Install extensions : bcmath,ftp,gd,gettext,intl,mysqli,pcntl,pdo_mysql,shmop,soap,sockets,sysvsem,xmlrpc,zip

------ install extension: bcmath ------
xz: Failed to enable the sandbox
tar: Child returned status 1
tar: Error is not recoverable: exiting now
------ docker-php-ext-install install bcmath failed------

PHP8.3
2026/07/02 11:30:26 安装运行环境扩展 [mysqli] 任务开始 [START]
2026/07/02 11:30:26 config-set succeeded
2026/07/02 11:30:26
2026/07/02 11:30:26 ============================================
2026/07/02 11:30:26 PHP version : 8.3.31
2026/07/02 11:30:26 Install extensions : mysqli
2026/07/02 11:30:26 ============================================
2026/07/02 11:30:26
2026/07/02 11:30:26 ------ install extension: mysqli ------
2026/07/02 11:30:26 xz: Failed to enable the sandbox
2026/07/02 11:30:26 tar: Child returned status 1
2026/07/02 11:30:26 tar: Error is not recoverable: exiting now
2026/07/02 11:30:26 ------ docker-php-ext-install install mysqli failed------
2026/07/02 11:30:26 子任务 失败: stdout: config-set succeeded

PHP version : 8.3.31
Install extensions : mysqli

------ install extension: mysqli ------
------ docker-php-ext-install install mysqli failed------
; stderr: xz: Failed to enable the sandbox
tar: Child returned status 1
tar: Error is not recoverable: exiting now
, err: exit status 1
2026/07/02 11:30:27 [TASK-END]

php 82

PHP version : 8.2.31
Install extensions : mysqli

------ install extension: mysqli ------
------ docker-php-ext-install install mysqli failed------
; stderr: xz: Failed to enable the sandbox
tar: Child returned status 1
tar: Error is not recoverable: exiting now
, err: exit status 1

PHP81
config-set succeeded

PHP version : 8.1.34
Install extensions : bcmath,ftp,gd,gettext,intl,mysqli,pcntl,pdo_mysql,shmop,soap,sockets,sysvsem,xmlrpc,zip

------ install extension: bcmath ------
xz: Failed to enable the sandbox
tar: Child returned status 1
tar: Error is not recoverable: exiting now
------ docker-php-ext-install install bcmath failed------

Steps to Reproduce

install extension: mysqli 、gd……

The expected correct result

No response

Related log output

Additional Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.