wiki:configure

Version 1 (modified by sky, 9 years ago) (diff)

--

./configure --xxx

Nginx / Tengine

./configure --prefix=/data1/env/nginx \
--http-client-body-temp-path=/dev/shm/client_temp \
--http-proxy-temp-path=/dev/shm/proxy_temp \
--http-fastcgi-temp-path=/dev/shm/fastcgi_temp \
--http-uwsgi-temp-path=/dev/shm/uwsgi_temp \
--http-scgi-temp-path=/dev/shm/scgi_temp \
--user=www \
--group=www \
--add-module=ngx_devel_kit-0.2.19 \
--add-module=lua-nginx-module-0.9.15 \
--with-http_concat_module \
--with-http_image_filter_module \
--with-http_realip_module

PHP / PHP-FPM

./configure --prefix=/data1/env/php-fpm \
--with-config-file-scan-dir=/data1/env/php-fpm/lib/phpini.d \
--with-libdir=lib64 --with-fpm-user=www --with-fpm-group=www \
--enable-fpm --enable-cgi --disable-ipv6 --with-libxml-dir --with-pcre-regex \
--with-openssl --with-zlib --enable-zip --with-bz2 --with-curl --with-mhash --with-imap \
--with-imap-ssl --enable-ftp --enable-mbstring --with-mcrypt --with-gettext --enable-sockets \
--with-kerberos --with-gd --with-jpeg-dir --with-png-dir --with-zlib-dir --with-xpm-dir --with-freetype-dir \
--enable-gd-native-ttf --enable-gd-jis-conv --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config --with-pdo-mysql \
--enable-mysqlnd --enable-soap --enable-bcmath --enable-exif