Skip to content

PHP Static Binary Builder. Building PHP static binary for personal project and testing.

License

Notifications You must be signed in to change notification settings

atrifat/php-static-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

php-static-builder

PHP Static Binary Builder. Building PHP static binary for personal project and testing.

Please, do not use this for production.

PHP static binary compiled with modules (php -m):

bcmath
bz2
calendar
Core
ctype
curl
date
dom
event
exif
fileinfo
filter
gd
hash
iconv
igbinary
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
Phar
posix
random
readline
redis
Reflection
secp256k1_nostr
session
shmop
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
swoole
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
xml
xmlreader
xmlwriter
xsl
zip
zlib

Getting Started

Clone repository

git clone https://github.com/atrifat/php-static-builder
cd php-static-builder

If you have act then you can build PHP static binary using one simple command:

act --env PHP_VERSION=8.2.10

Otherwise you can also build using builder-alpine docker image:

docker run --rm -v `pwd`:/project -it ghcr.io/atrifat/builder-alpine:latest

and run build.sh

chmod +x build.sh
PHP_VERSION=8.2.10 ./build.sh

License

MIT

Author

Rif'at Ahdi Ramadhani (atrifat)

About

PHP Static Binary Builder. Building PHP static binary for personal project and testing.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages