@@ -23,15 +23,23 @@ relevant parts of your application. This will save you distributing all of the P
2323NativePHP uses [ ` static-php-cli ` ] ( https://static-php.dev ) to build minimal, statically-linked, self-contained PHP
2424executables for each platform.
2525
26- The default build commands are :
26+ You need to build separately for each PHP version :
2727
28+ ### PHP 8.2
2829``` shell
29- bin/spc download --clear
30- bin/spc download --with-php=8.2 --for-extensions " bcmath,ctype,curl,dom,fileinfo,filter,mbstring,openssl,pdo,pdo_sqlite,session,simplexml,sqlite3,tokenizer,xml,zlib"
30+ bin/spc download --clean
31+ bin/spc download --with-php=8.2 --for-extensions " bcmath,ctype,curl,dom,fileinfo,filter,mbstring,openssl,pdo,pdo_sqlite,session,simplexml,sockets, sqlite3,tokenizer,xml,zlib"
3132```
3233
34+ ### PHP 8.3
3335``` shell
34- bin/spc build --build-cli --build-embed " bcmath,ctype,curl,dom,fileinfo,filter,mbstring,openssl,pdo,pdo_sqlite,session,simplexml,sqlite3,tokenizer,xml,zlib"
36+ bin/spc download --clean
37+ bin/spc download --with-php=8.3 --for-extensions " bcmath,ctype,curl,dom,fileinfo,filter,mbstring,openssl,pdo,pdo_sqlite,session,simplexml,sockets,sqlite3,tokenizer,xml,zlib"
38+ ```
39+
40+ ### Build
41+ ``` shell
42+ bin/spc build --build-cli --build-embed " bcmath,ctype,curl,dom,fileinfo,filter,mbstring,openssl,pdo,pdo_sqlite,session,simplexml,sockets,sqlite3,tokenizer,xml,zlib"
3543```
3644
3745You need to build these on the relevant platform to compile binaries for that platform.
0 commit comments