php Compiler Parameters Apache:
./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache2/bin/apxs--with-curl--with-mcrypt-- Enable-mbstring--with-iconv--with-gd--with-jpeg-dir=/usr/local/lib--enable-pdo--with-pdo-mysql=/usr/local/ mysql5.5.25/--with-mysqli=/usr/local/mysql5.5.25/bin/mysql_config--with-mysql=/usr/local/mysql5.5.25/
php Compiler parameter NGINX:
./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/lib--enable-pdo--with-pdo-mysql=/usr/ local/mysql5.6.19/--with-mysqli=/usr/local/mysql5.6.19/bin/mysql_config--with-mysql=/usr/local/mysql5.6.19/-- With-libxml-dir--enable-ftp--enable-sockets--with-gd--with-jpeg-dir--with-png-dir--with-freetype-dir-- With-zlib-dir--enable-gd-native-ttf--enable-magic-quotes--with-iconv--enable-mbstring=all--disable-cgi-- With-openssl--with-mcrypt--enable-bcmath--enable-calendar--enable-exif--enable-libxml--with-bz2--with-curl-- With-xmlrpc--with-gettext--disable-cli--disable-debug--enable-zend-multibyte--with-mhash--enable-pcntl-- Enable-sysvsem--enable-inline-optimization--enable-soap--disable-ipv6--enable-fpm
Mysql:
CMake. -dcmake_install_prefix=/usr/local/mysql5.6.19-dmysql_datadir=/data/mysql-dmysql_unix_addr=/tmp/mysql.sock- Dwith_innobase_storage_engine=1-dmysql_tcp_port=3306-dextra_charsets=all-ddefault_charset=utf8-ddefault_ Collation=utf8_general_ci-dwith_debug=0
Nginx:
./configure--prefix=/usr/local/nginx--conf-path=/usr/local/nginx/nginx.conf--pid-path=/tmp/nginx/nginx.pid-- Lock-path=/tmp/nginx/nginx.lock--user=nginx--group=nginx--with-pcre--with-http_ssl_module--with-http_flv_ Module--with-http_stub_status_module--error-log-path=/usr/local/nginx/logs/error.log--http-log-path=/usr/local /nginx/logs/access.log--http-fastcgi-temp-path=/tmp/nginx/fcgi/
Apache:
./configure--WITH-INCLUDED-APR--prefix=/usr/local/apache--with-pcre=/usr/local/pcre/
Keepalived:
./configure--prefix=/usr/local/keepalived--with-kernel-dir=/usr/src/kernels/2.6.32-279.el6.x86_64
Compile and install commands for some common software under Linux