• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 在 FreeBSD 下讓 APACHE2 支持 mod_fastcgi ☆海鷹原創作品☆

    發表于:2007-05-25來源:作者:點擊數: 標簽:
    安裝過程如下: [quote:c498d1487f] 8:54[root]/usr/ports/www/mod_fastcgi==makeWITH_APACHE2=yesinstallclean 以下是編譯代碼 ===Installingformod_fastcgi-2.4.0 ===Generatingtemporarypackinglist ===Checkingifwww/mod_fastcgia lr eadyinstalled /bin

    安裝過程如下:
    [quote:c498d1487f]

    8:54 [root] /usr/ports/www/mod_fastcgi ==>make WITH_APACHE2=yes install clean

    以下是編譯代碼
    ===>  Installing for mod_fastcgi-2.4.0
    ===>   Generating temporary packing list
    ===>  Checking if www/mod_fastcgi already installed
    /bin/sh /usr/local/share/apache2/build/libtool --silent --mode=install cp mod_fastcgi.la /usr/local/libexec/apache2/
    ----------------------------------------------------------------------
    Libraries have been installed in:
       /usr/local/libexec/apache2

    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
         during execution
       - add LIBDIR to the `LD_RUN_PATH' environment variable
         during linking
       - use the `-Wl,--rpath -Wl,LIBDIR' linker flag

    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    install -c -o root -g wheel -m 444 /usr/ports/www/mod_fastcgi/work/mod_fastcgi-2.4.0/docs/LICENSE.TERMS /usr/local/share/doc/mod_fastcgi
    install -c -o root -g wheel -m 444 /usr/ports/www/mod_fastcgi/work/mod_fastcgi-2.4.0/docs/mod_fastcgi.html /usr/local/share/doc/mod_fastcgi
    ************************************************************
    * You need to add following lines to your apache           *
    * configuration file. and restart it !                     *
    *                                                          *
    * LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so *
    * AddHandler fastcgi-script fcgi fcgi fpl                  *
    *                                                          *
    ************************************************************
    ===>   Registering installation for mod_fastcgi-2.4.0

    [/quote:c498d1487f]

    完后要在 /usr/local/etc/apache2/httpd.conf 增加兩句(其實就是上面的提示):

    [quote:c498d1487f]
    LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so
    AddHandler fastcgi-script fcgi fcgi fpl
    [/quote:c498d1487f]

    然后 httpd -t 看是否 OK
    OK,一切已經完成,重啟你的 APACHE2 就行了

     :mrgreen:  :mrgreen: 這就是 FreeBSD ports 的魅力 :evil:  :twisted:

     xiaohua 回復于:2003-12-12 16:05:08
    呵呵,精華了!感謝版主 :lol:  :mrgreen:  :em06:

     HonestQiao 回復于:2003-12-12 16:09:30
    多多努力呀

     xiaohua 回復于:2003-12-12 17:02:45
    好 :D

     hao_h 回復于:2004-02-16 15:18:02
    :(  :(

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>