久久国产成人av_抖音国产毛片_a片网站免费观看_A片无码播放手机在线观看,色五月在线观看,亚洲精品m在线观看,女人自慰的免费网址,悠悠在线观看精品视频,一级日本片免费的,亚洲精品久,国产精品成人久久久久久久

分享

LAMP源碼編譯安裝

 guitarhua 2016-04-14

編譯apache2:

./configure --prefix=/usr/local/apache2 --enable-so --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-pcre=/usr/local/pcre --with-mpm=prefork



編譯PHP:
cd ext/intl
phpize
./configure --enable-intl
make
make install


CGI模式:
./configure  --with-mysql=mysqlnd  --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-curl  --enable-mbstring  --with-mhash --with-mcrypt  --with-gd --enable-sockets --with-gettext --enable-zip --enable-soap  --with-xmlrpc --with-readline   --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-config-file-path  --with-config-file-scan-dir=/etc/php5/apache2/conf.d  

FCGID模式:
./configure --prefix=/usr/local/php  --with-mysql=mysqlnd --with-curl  --enable-mbstring  --with-mhash --with-mcrypt  --with-gd --enable-sockets --with-gettext --enable-zip --enable-soap  --with-xmlrpc --with-readline --enable-fpm --with-fpm-user=fpm --with-fpm-group=fpm

    RewriteEngine On
    <IfModule mod_fastcgi.c>
        ScriptAlias /php/ "/usr/sbin/"
        FastCgiExternalServer /usr/sbin/php5-fpm -socket /var/run/php5-fpm.sock
        AddHandler php-fastcgi .php
        Action php-fastcgi /php/php5-fpm
    </IfModule>



./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-gd --with-iconv --with-zlib --with-fpm-user=php --with-fpm-group=php --enable-xml --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --enable-mbregex --enable-fpm --enable-mbstring --enable-ftp --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --with-pear --with-gettext --enable-session  --with-curl --enable-exif


apache模塊方式:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=mysqlnd --with-curl  --enable-mbstring  --with-mhash --with-mcrypt  --with-gd --enable-sockets --with-gettext --enable-zip --enable-soap  --with-xmlrpc --with-readline


設(shè)置配置文件路徑:    --with-config-file-path=PATH   --with-config-file-scan-dir=

thinkphp URL重寫(xiě)規(guī)則

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,,所有內(nèi)容均由用戶發(fā)布,,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式,、誘導(dǎo)購(gòu)買等信息,,謹(jǐn)防詐騙,。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào),。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多