静态php的打包命令是什么?需要加个扩展

浮舍

问题描述

https://www.workerman.net/download

此链接上提供的静态php打包命令是什么,我自己按照链接中支持的linux扩展打包完后100多MB

craft.yml


php-version: 8.4
extensions: "apcu,bcmath,bz2,calendar,Core,ctype,curl,date,dba,dom,event,exif,fileinfo,filter,ftp,gd,gmp,hash,iconv,imagick,imap,intl,json,libxml,mbstring,mysqli,mysqlnd,openssl,pcntl,pcre,PDO,pdo_mysql,pgsql,Phar,posix,protobuf,readline,redis,Reflection,session,shmop,SimpleXML,soap,sockets,sodium,SPL,sqlite3,standard,swoole,sysvmsg,sysvsem,sysvshm,tokenizer,xml,xmlreader,xmlwriter,xsl,ZendOPcache,zip,zlib"
sapi: cli,fpm
debug: true
download-options:
  prefer-pre-built: true
build-options:
  with-upx-pack: true
  enable-zts: true
45 0 0
0个回答

🔝