迁移了服务器,重新配置环境

2017-07-24 • OSNo Comments

#!/bin/bash
./configure \
    --sbin-path=/usr/local/nginx/nginx \
    --conf-path=/usr/local/nginx/nginx.conf \
    --pid-path=/usr/local/nginx/nginx.pid \
    --with-http_ssl_module \
    --with-pcre=../pcre-8.40 \
    --with-zlib=../zlib-1.2.11 \
#!/bin/bash
./configure \
    --prefix=/usr/local/apache \
    --sysconfdir=/etc/httpd/ \
    --enable-so \
    --enable-deflate \
    --enable-headers \
    --enable-rewrite \
    --with-mpm=worker \
    --with-apr=/usr/local/apr/ \
    --with-apr-util=/usr/local/apr-util/
#!/bin/bash
./configure --prefix=/usr/local/php \
     --with-curl=/usr/local/curl \
     --with-apxs2=/usr/local/apache/bin/apxs \
     --with-mysql-sock=/var/lib/mysql/mysql.sock \
     --with-freetype-dir \
     --with-gd \
     --with-gettext \
     --with-iconv-dir \
     --with-kerberos \
     --with-libdir=lib64 \
     --with-libxml-dir \
     --with-mysqli \
     --with-openssl \
     --with-pcre-regex \
     --with-pdo-mysql \
     --with-pdo-sqlite \
     --with-pear \
     --with-png-dir \
     --with-xmlrpc \
     --with-xsl \
     --with-zlib \
     --with-pdo-mysql \
     --enable-fpm \
     --enable-bcmath \
     --enable-libxml \
     --enable-inline-optimization \
     --enable-gd-native-ttf \
     --enable-mbregex \
     --enable-mbstring \
     --enable-opcache \
     --enable-pcntl \
     --enable-shmop \
     --enable-soap \
     --enable-sockets \
     --enable-sysvsem \
     --enable-xml \
     --enable-zip \
     --enable-mysqlnd \
     --enable-maintainer-zts

粤公网安备 44011102000950号