Created
January 29, 2022 21:45
-
-
Save smx-smx/660baac45f7f44fa7bb72648cb1fe57a to your computer and use it in GitHub Desktop.
build-php-embed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| build_php_embed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CFLAGS="-fPIC -Os -ffunction-sections -fdata-sections" \ | |
| ./configure \ | |
| --prefix=$PWD/out \ | |
| --host=arm-buildroot-linux-gnueabi \ | |
| --with-ffi \ | |
| --disable-all \ | |
| --disable-sockets \ | |
| --disable-fileinfo \ | |
| --disable-phpdbg \ | |
| --without-pdo-sqlite \ | |
| --without-sqlite3 \ | |
| --without-zlib \ | |
| --disable-xmlreader \ | |
| --disable-xmlwriter \ | |
| --without-expat \ | |
| --disable-xml \ | |
| --disable-simplexml \ | |
| --without-libxml \ | |
| --disable-dom \ | |
| --disable-phar \ | |
| --without-zip \ | |
| --disable-cgi \ | |
| --disable-fpm \ | |
| --disable-pdo \ | |
| --without-iconv \ | |
| --without-readline \ | |
| --disable-filter \ | |
| --disable-tokenizer \ | |
| --disable-session \ | |
| --disable-mbregex \ | |
| --disable-cli \ | |
| --without-mhash \ | |
| --enable-embed=static \ | |
| --disable-mbstring \ | |
| --with-config-file-scan-dir=/tmp \ | |
| --with-pic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment