3 Star 18 Fork 2

阿宝 / threadfpm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build3.sh 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
阿宝 提交于 2021-03-29 05:49 . Update build*.sh
#!/bin/bash -l
if [ -z "$ANDROID_ROOT" -o ! "$HOME" = "/data/data/com.termux/files/home" ]; then
echo "Isn't android termux"
exit 1
fi
php=${1:-phpts}
opt=$(dirname $PREFIX)/opt
EXTENSION_DIR=$opt/$php/lib/extensions ./configure CFLAGS=-O2 CXXFLAGS=-O2 --prefix=$opt/$php --with-config-file-path=$opt/$php/etc --with-config-file-scan-dir=$opt/$php/etc/php.d --enable-maintainer-zts --with-tsrm-pthreads --enable-inline-optimization --enable-threadfpm --enable-threadfpm-debug --enable-embed --enable-fpm --enable-phpdbg --with-openssl --with-kerberos --with-system-ciphers --with-zlib --enable-bcmath --with-bz2=$PREFIX --enable-calendar --with-curl --enable-dba=shared --enable-exif --with-ffi --enable-ftp --enable-gd --with-webp --with-jpeg --with-freetype --with-gmp --with-mhash --with-kerberos --enable-mbstring --disable-mbregex --with-mysqli --enable-pcntl --with-pdo-mysql --with-libedit --with-readline --enable-soap --enable-sockets --with-tidy=$PREFIX --with-expat --with-xmlrpc --with-xsl --enable-zend-test=shared --with-zip --enable-mysqlnd --with-iconv=$PREFIX $2 && sed -i 's|#define HAVE_RES_NSEARCH 1|//#define HAVE_RES_NSEARCH 1|g' main/php_config.h && LDFLAGS='-llog -lc' make -j4 && make install
C
1
https://gitee.com/talent518/threadfpm.git
git@gitee.com:talent518/threadfpm.git
talent518
threadfpm
threadfpm
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891