--disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-libdir=NAME Look for libraries in .../NAME rather than .../lib --with-php-config=PATH Path to php-config php-config --enable-swoole-debug Enable swoole debug 启用swoole的调试日志。不要在生产环境中启用此配置。 --enable-trace-log Enable swoole trace log --enable-sockets Do you have sockets extension? 启用对 sockets 的支持。依赖 sockets --enable-async-redis Do you have hiredis? 启用对异步Redis客户端的支持。依赖 hiredis --enable-coroutine-postgresql Do you install postgresql? 启用协程 Postgresql 客户端,依赖 libpq --enable-openssl Use openssl? 启用openssl支持。依赖 libssl.so --enable-http2 Use http2.0? 启用HTTP2的支持。依赖 nghttp2 --enable-thread Experimental: Use thread? 启用线程支持 //实验性功能。请勿在生产环境中使用此功能 --enable-hugepage Experimental: Use hugepage? 启用 hugepage //使用大内存页优化性能,具体鸟哥在他的博客中讲到。 如果已经开启了 jemalloc,再开启hugepage 印象性能 https://blog.digitalocean.com/transparent-huge-pages-and-alternative-memory-allocators/ 实验性功能。请勿在生产环境中使用此功能 --enable-swoole Enable swoole support --enable-swoole-static Enable swoole static compile support --with-swoole With swoole support --with-libpq-dir=DIR Include libpq support (requires libpq >= 9.5) --with-openssl-dir=DIR Include OpenSSL support (requires OpenSSL >= 0.9.6) 设置openssl库的路径,例如:--with-openssl-dir=/opt/openssl/. --with-jemalloc-dir=DIR Include jemalloc support 使用 jemalloc 进行内存优化支持 --enable-mysqlnd Do you have mysqlnd? 启用对 mysqlnd 的支持,依赖 mysqlnd --enable-coroutine Enable coroutine (requires PHP >= 5.5) 启用协程 --enable-asan Enable asan 启用 Address-Sanitizier 内存检测工具 //只有开启debug才有效 --enable-picohttpparser Experimental: Do you have picohttpparser? 启用 picohttpparser 支持 //这是一个超高性能的http解析器,实验性功能。请勿在生产环境中使用此功能 --enable-timewheel Experimental: Enable timewheel heartbeat? 启用时间轮算法并优化心跳算法 //实验性功能。请勿在生产环境中使用此功能 --enable-debug, compile with debug symbols 编译时加入符号表 //使用gdb调试时有用 --enable-shared=PKGS Build shared libraries default=yes --enable-static=PKGS Build static libraries default=yes --enable-fast-install=PKGS Optimize for fast installation default=yes --with-gnu-ld Assume the C compiler uses GNU ld default=no --disable-libtool-lock Avoid locking (might break parallel builds) --with-pic Try to use only PIC/non-PIC objects default=use both --with-tags=TAGS Include additional configurations automatic
__builtin_saddl_overflow’ was not declared in this scope 这是一个已知的问题 - 问题是 CentOS 上的默认 gcc 缺少必需的定义,即使在升级 gcc 之后,PECL 也会找到旧的编译器。要安装驱动程序,必须首先通过安装 devtoolset 集合来升级 gcc,如下所示: