You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# prepare# arch (glibc/musl dev only)
pacman -S base-devel cmake \
vim \
brotli \
php xz tar git curl
# alpine (musl)
apk add alpine-sdk automake autoconf bison flex re2c cmake \
vim \
zlib-static zlib-dev \
bzip2 bzip2-static bzip2-dev \
zstd zstd-static zstd-dev \
php81 xz tar curl
# centos 7 (oldest glibc amoung common distros)
yum groupinstall 'Development Tools'
yum install epel-release
yum install re2c perl-IPC-Cmd \
vim \
glibc-static \
xz zstd bzip2 tar curl
# you may also need a working cmake 3.16+ for building curl libzip things# you need also a working php 8.1 cli (maybe an all-static binary built in alpine?)# debian varients, suse varients etc...false"why?"# bsdfalse"will lwmbs support them?"# macos
brew install bison re2c
export PATH="/opt/homebrew/opt/bison/bin:/opt/homebrew/opt/re2c/bin:$PATH"# you need also a working php 8.1 cli (brew install it# windows# you need VS (better v16 2019+)# you need perl for openssl (grab a strawberry perl)# you may want nasm for openssl# you need a working PHP 8.1 distrubtion (just download it)# you need php binary sdk from php
# optionalexport https_proxy=https://someproxy
export GITHUB_USER=someuser
export GITHUB_TOKEN=ghp_dsad
# not optional
mkdir build
cd build
# prepare sources
../update_source.php ../src.json 8.1
# build micro (unix)
../build_micro.php """"# build micro (win)
../build_micro.php """" --phpBinarySDKDir=<path to sdk> --vsVer=<version like 17> --arch=<arch x64/arm64>