Code Monkey home page Code Monkey logo

Comments (3)

jingjingxyk avatar jingjingxyk commented on August 23, 2024

@wenzhizhong
用的那个分支? 是main 分支吗?
在什么环境下编译的? 是alpine 3.17 吗?

完成的编译命令是?

可以尝试: 把 openssl-3.0.8-quic1.tar.gz 删除,重新生成构建脚本

rm -rf  pool/lib/openssl-3.0.8-quic1.tar.gz   

composer update 
php prepare.php  

from swoole-cli.

jingjingxyk avatar jingjingxyk commented on August 23, 2024

用main 分支:
构建步骤:

# 准备PHP 运行时 (看提示,把 PHP 运行时导入环境变量PATH )
sh setup-php-runtime.sh

# 准备运行脚本(目的是为了生成构建容器的脚本,进入容器的脚本)【容器外】
composer update  
php prepare.php --without-docker --skip-download=1

# 查看用的构建命令
bash make.sh -h

# 构建容器运行环境
bash make.sh docker-build

# 启动容器运行环境,并进入容器
bash make.sh docker-bash


# 准备运行脚本( 下载各依赖库源码,生成构建脚本)【容器内】
composer update  
php prepare.php   +inotify +apcu +ds +xlswriter +ssh2  --with-swoole-pgsql=1


# 静态编译依赖库
bash make.sh  all-library 

# 静态编译 PHP 预处理
bash make.sh config 

# 静态编译PHP (汇编、编译、链接)
bash make.sh build 

# 静态编译PHP (打包)
bash make.sh archive 

from swoole-cli.

jingjingxyk avatar jingjingxyk commented on August 23, 2024

单独编译 openssl

bash make.sh openssl

from swoole-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.