Open
Description
Contact Information
1Panel Version
2.0.0-beta.5
Problem Description
基于 扩展模版 Dev
进行了模块的增加,
bcmath,ftp,gd,gettext,intl,mysqli,pcntl,pdo_mysql,shmop,soap,sockets,sysvsem,xmlrpc,
zip,exif,igbinary,imagick,apcu,memcached,opcache,redis,bc,image,dom,iconv,mbstring,
mysqlnd,openssl,pdo,tokenizer,xml,curl,bz2,yaf,imap,xdebug,swoole,pdo_pgsql,
fileinfo,pgsql,calendar,gmp,posix,event,xlswriter,pdo_mysql,mcrypt,uuid,protobuf
构建 8.4.6版本的运行环境后,存在以下问题
1 php.ini 配置文件中的扩张配置加载错误或问题
启用扩展的配置不应该放到php.ini处,全部通过 /opt/1panel/runtime/php/php-84/conf/conf.d/*
启用
会导致进行容器执行相关命令时,报错
2 composer 安装全局包后,无法使用直接使用安装后的命令
没有把 .composer/vendor/bin 加入到容器的环境变量中去
3 安装zip扩展,但容器不没有安装unzip或7-Zip
zip: extension present, unzip not available, 7-Zip not available
As there is no 'unzip' nor '7z' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' or '7z' (21.01+) may remediate them.
感觉还有其他小细节问题啊,v1 都做好的事情,v2有问题,望能排期优化
V2 以后php运行环境的基础镜像,可以提供构建的 Dockerfile
文件么,或可以在哪里查找下载呢?
或出一个教程可以定制本地的PHP运行环境或自定义
Steps to Reproduce
如上所述
The expected correct result
No response
Related log output
Additional Information
No response