From 96bc62b2a9a6f7ac945755c9842f29467af604f1 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Mon, 20 Jun 2022 21:17:51 +0800 Subject: [PATCH] Update to 1.5.1 version (add readline extension) --- README-en.md | 3 ++- README.md | 3 ++- docker/Dockerfile | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README-en.md b/README-en.md index 19768529..2cb2cf9a 100755 --- a/README-en.md +++ b/README-en.md @@ -114,6 +114,7 @@ To customize PHP extensions, edit `docker/extensions.txt` file, and rules below: | | pdo_pgsql | * | | | yes | phar | * | | | yes | posix | * | | +| yes | readline | * | Not support `./php -a` | | yes | redis | * | | | yes | shmop | * | | | yes | simplexml | * | | @@ -149,7 +150,7 @@ To customize PHP extensions, edit `docker/extensions.txt` file, and rules below: ## Current Issue - [X] Not support event(libevent), because of its `config.m4` and code. - [ ] Swoole not support `--enable-swoole-curl`. -- [ ] Not support readline, maybe caused by ncurses library. +- [X] Not support readline, maybe caused by ncurses library. - [X] Not support curl (solved) - [X] Customize extensions to compile - [X] php.ini integration diff --git a/README.md b/README.md index 40566218..b54cfcdb 100755 --- a/README.md +++ b/README.md @@ -120,6 +120,7 @@ export VER_PHP="8.1.7" | | pdo_pgsql | * | | | yes, enabled | phar | * | | | yes, enabled | posix | * | | +| yes, enabled | readline | * | 不支持 `./php -a` | | yes, enabled | redis | * | 从 pecl 或镜像站下载的源码 | | yes, enabled | shmop | * | | | yes, enabled | simplexml | * | | @@ -157,7 +158,7 @@ export VER_PHP="8.1.7" ## 目前的问题(对勾为已解决) - [X] 不支持 event(libevent) 扩展,event 扩展的 sockets 支持不能在静态编译中使用,因为静态内嵌编译暂时没办法调整扩展编译顺序,同时其本身也不支持静态编译。 - [ ] Swoole 扩展不支持 `--enable-swoole-curl`,也是因为编译顺序和加载顺序的问题。 -- [ ] 不支持 readline 扩展,readline 扩展安装后无法正常使用 `php -a`,原因还没有弄清楚,可能是静态编译造成的 ncurses 库出现了问题。 +- [X] 不支持 readline 扩展,readline 扩展安装后无法正常使用 `php -a`,原因还没有弄清楚,可能是静态编译造成的 ncurses 库出现了问题。 - [X] curl/libcurl 扩展静态编译 - [X] 可自行选择不需要编译进入的扩展 - [X] php.ini 内嵌或分发 diff --git a/docker/Dockerfile b/docker/Dockerfile index 9ff2994c..7ff45501 100755 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,7 +2,7 @@ FROM alpine:latest # define script basic information # Version of this Dockerfile -ENV SCRIPT_VERSION=1.5.0 +ENV SCRIPT_VERSION=1.5.1 # Download address uses backup address ARG USE_BACKUP_ADDRESS