免费视频淫片aa毛片_日韩高清在线亚洲专区vr_日韩大片免费观看视频播放_亚洲欧美国产精品完整版

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
編譯安裝apache2.2對應(yīng)的mod_proxy_fcgi.so模塊步驟,因為使用apache--phpfpm 需要這個

編譯安裝apache2.2對應(yīng)的mod_proxy_fcgi.so模塊步驟,因為使用apache--phpfpm 需要這個

#mod-proxy-fcgi-master 模塊步驟

  [root@iZ25ja2kaemZ apache]# wget https://github.com/ceph/mod-proxy-fcgi/archive/master.zip

unzip master.zip

cd mod-proxy-fcgi-master

 autoconf;

  ./configure;

  sed -i "s>top_srcdir\=>top_srcdir\=.>" Makefile;

  mkdir -p build;

  ln -sf /usr/share/apache2/build/instdso.sh build/instdso.sh;

  make;

  make install;

  make clean;

#執(zhí)行完成后,發(fā)現(xiàn)已經(jīng)生成對應(yīng)模塊so,直接在http引入就可以。直接加載模塊,不用寫路徑??聪旅鎚ake install中顯示 模塊生成在 /usr/lib64/httpd/modules/,

#進入目錄,查看有  -rwxr-xr-x 1 root root    74483 Jun  5 00:36 mod_proxy_fcgi.so 該文件應(yīng)該放到apache的模塊目錄下,在apache安裝目錄/modules目錄中

#一般yum安裝的apache安裝目錄為/etc/httpd,如果是64位系統(tǒng),會自動生成一個軟連接到/usr/lib64/httpd/modules/,因此我們直接在apache配置文件加載模塊就好

#在apache的httpd.conf中加入 LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so

---下面是安裝過程中的部分代碼------------------------------------------------

[root@iZ25ja2kaemZ mod-proxy-fcgi-master]# ./configure;

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking for apxs... /usr/sbin/apxs

configure: creating ./config.status

config.status: creating Makefile

[root@iZ25ja2kaemZ mod-proxy-fcgi-master]#   make;

/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -pthread  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE    -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c mod_proxy_fcgi.c && touch mod_proxy_fcgi.slo

/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -pthread  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE    -I/usr/include/httpd -I. -I/usr/include/apr-1 -prefer-pic -c util_fcgi.c && touch util_fcgi.slo

/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -pthread  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security -fno-strict-aliasing     -Wl,-z,relro   -o mod_proxy_fcgi.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_proxy_fcgi.lo util_fcgi.lo

[root@iZ25ja2kaemZ mod-proxy-fcgi-master]#   make install;

make[1]: Entering directory `/root/apache/mod-proxy-fcgi-master'

/usr/lib64/apr-1/build/libtool --silent --mode=install cp mod_proxy_fcgi.la /usr/lib64/httpd/modules/

make[1]: Leaving directory `/root/apache/mod-proxy-fcgi-master'

/usr/lib64/apr-1/build/libtool --silent --mode=install cp mod_proxy_fcgi.la /usr/lib64/httpd/modules/

[root@iZ25ja2kaemZ mod-proxy-fcgi-master]#   make clean;

make[1]: Entering directory `/root/apache/mod-proxy-fcgi-master'

rm -f *.o *.lo *.slo *.obj *.a *.la

rm -rf .libs

make[1]: Leaving directory `/root/apache/mod-proxy-fcgi-master'

rm -f *.o *.lo *.slo *.la

[root@iZ25ja2kaemZ mod-proxy-fcgi-master]#

本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
從apache mod_php到php-fpm
CentOS6.4下編譯安裝Apache2.4+PHP5.6
HowTo configure Apache to run Redmine
Linux apache + fastcgi 運行c/c++
Postfix郵箱【十一】:Webmail支持FCGI和SSL
Linux下smokeping網(wǎng)絡(luò)監(jiān)控環(huán)境部署記錄
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服