nginx
配置项
./configure --prefix=/usr/local/nginx --http-proxy-temp-path=/home/tmp/nginx-proxy.tmp --http-fastcgi-temp-path=/home/tmp/nginx-fcgi.tmp --http-uwsgi-temp-path=/home/tmp/nginx-uwsgi.tmp --http-scgi-temp-path=/home/tmp/nginx-scgi.tmp --http-client-body-temp-path=/home/tmp/nginx-client.tmp --http-log-path=/home/baibing/log/nginx.log --error-log-path=/home/baibing/log/http-error.log --with-pcre --with-zlib --with-http_ssl_module --with-openssl
php配置项
./configure --prefix=/usr/local/php --enable-fpm --with-mcrypt=/usr/local/libmcrypt/ --with-zlib --enable-mbstring --disable-pdo --disable-debug --with-pic --disable-rpath --enable-inline-optimization --with-bz2 --enable-xml --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --with-mhash --with-xsl --enable-zip --with-pcre-regex --with-mysql --with-curl=/usr/local/curl/
以上配置根据不同的应用进行不用的组合,缺少的lib库,进行对应的内容下载