| 1 | = ./configure --xxx = |
| 2 | |
| 3 | == Nginx / Tengine == |
| 4 | |
| 5 | {{{ |
| 6 | ./configure --prefix=/data1/env/nginx \ |
| 7 | --http-client-body-temp-path=/dev/shm/client_temp \ |
| 8 | --http-proxy-temp-path=/dev/shm/proxy_temp \ |
| 9 | --http-fastcgi-temp-path=/dev/shm/fastcgi_temp \ |
| 10 | --http-uwsgi-temp-path=/dev/shm/uwsgi_temp \ |
| 11 | --http-scgi-temp-path=/dev/shm/scgi_temp \ |
| 12 | --user=www \ |
| 13 | --group=www \ |
| 14 | --add-module=ngx_devel_kit-0.2.19 \ |
| 15 | --add-module=lua-nginx-module-0.9.15 \ |
| 16 | --with-http_concat_module \ |
| 17 | --with-http_image_filter_module \ |
| 18 | --with-http_realip_module |
| 19 | }}} |
| 20 | |
| 21 | |
| 22 | == PHP / PHP-FPM == |
| 23 | |
| 24 | {{{ |
| 25 | ./configure --prefix=/data1/env/php-fpm \ |
| 26 | --with-config-file-scan-dir=/data1/env/php-fpm/lib/phpini.d \ |
| 27 | --with-libdir=lib64 --with-fpm-user=www --with-fpm-group=www \ |
| 28 | --enable-fpm --enable-cgi --disable-ipv6 --with-libxml-dir --with-pcre-regex \ |
| 29 | --with-openssl --with-zlib --enable-zip --with-bz2 --with-curl --with-mhash --with-imap \ |
| 30 | --with-imap-ssl --enable-ftp --enable-mbstring --with-mcrypt --with-gettext --enable-sockets \ |
| 31 | --with-kerberos --with-gd --with-jpeg-dir --with-png-dir --with-zlib-dir --with-xpm-dir --with-freetype-dir \ |
| 32 | --enable-gd-native-ttf --enable-gd-jis-conv --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config --with-pdo-mysql \ |
| 33 | --enable-mysqlnd --enable-soap --enable-bcmath --enable-exif |
| 34 | }}} |