Skip to content

[Bug] When compiling extensions in the PHP runtime environment, the igbinary / json / msgpack extension checks are always detected as no #13003

@BilikoX

Description

@BilikoX

Contact Information

No response

1Panel Version

v2.1.13

Problem Description

创建php运行环境时,扩展编译脚本需要判断当前 PHP 已安装扩展:https://github.com/1Panel-dev/runtime/blob/71d19b1fe45aa8bb784d1e7050a921aa31074146/php/8/data/install-php-extensions#L4132
但实际上无论如何都会判断为no
该问题与 #12935 为同一问题,应该是个bug

43 source files, building
running: phpize
Configuring for:
PHP Version:             8.5
PHP Api Version:         20250925
Zend Module Api No:      20250925
Zend Extension Api No:   420250925
enable igbinary serializer support? [no] : enable lzf compression support? [no] : enable zstd compression support? [no] : enable msgpack serializer support? [no] : enable lz4 compression? [no] : use system liblz4? [yes] : building in /tmp/pear/temp/pear-build-defaultuserqci514njmfb10aJRGgg/redis-6.3.0
running: /tmp/pear/temp/redis/configure --with-php-config=/usr/local/bin/php-config --enable-redis-igbinary=no --enable-redis-lzf=no --enable-redis-zstd=no --enable-redis-msgpack=no --enable-redis-lz4=no --with-liblz4

Steps to Reproduce

创建php环境,选择wordpress模板

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions