52AV璈A|52AV.ONE

 曉撖蝣
 蝡唾酉
敹急瑕
  • av隢憯BBS
  • 璈A
  • 芣瑟憭瘚
  • 鞎澆
  • 52av鋆貉摰
  • 銝剜-銝剖銝餅
     
亦: 4872|敺: 0
銝銝銝駁 銝銝銝駁

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx
: P+ }. m# N8 n: d4 l) J2 I yum install nginx
) @; }- d: h, ^$ C2 L. V..........2 d: X  v2 J- F; ~( g1 X
Running Transaction
4 U4 A9 n; u& y& e! j  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
2 O! Z7 k8 ?% E# |* a- b; U: {  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
8 e; d- m9 t5 ~6 o: |/ W  Installing : nginx-1.0.15-11.el6.x86_64                                             3/35 _7 M6 s$ f2 T4 V5 L8 s
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3
3 O4 s: M$ P& d  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3& ^  q6 ~0 N1 W# F% n
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
1 u. d7 R2 Q2 u! Y) U1 {  K  S7 e- |
Installed:8 i: e7 \) \6 G- P: @8 `
  nginx.x86_64 0:1.0.15-11.el6
- u" w& a+ d6 ~: n( wDependency Installed:2 x; ?- I( `& {; @8 f$ Z0 b- ^. s
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6/ l4 g: Z; B+ L
Complete!: ~. O+ h& O9 O! a; a
9 m( Y7 A2 ?, Y) o
閮剖/etc/nginx/nginx.conf
3 q4 X  [: {3 [( d  j4 _, ~0 F, U3 H

/ ?4 s3 w, P5 j; ^) S  T; S- U
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
- A& P. W( A+ ?9 Z" s, @' W閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
( D/ W% a+ A9 l7 N' \; g' D+ `( o  E& F
9 R' r. d2 E. P! a! \2 @9 S) J4 x
php-fpm service php-fpm start
0 }0 i3 Q7 w$ wnginx      
service nginx start
; {$ M2 L- r! r, _  L

& e  f, `* o3 V+ V箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

3 w- ]9 b* o( i; z# n5 H  m& F閫瘙# E7 I7 A! Z1 ?: x: s; j8 t
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
5 F1 w- D. U+ A& O8 H& p銝甈∪nginx
service nginx start# ^: q+ R. h7 I' `
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
1 ?+ f+ z) }  m! f亦nginx configure /usr/sbin/nginx -V3 Z, J1 C% s' Z# y, B" F5 H
nginx version: nginx/1.0.15; j6 U7 V& f6 X+ t
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC): R. }8 Y/ C: y3 p, Y4 _
TLS SNI support enabled
0 U; Y7 J/ |3 k" ^3 E
configure arguments: --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/tmp/client_body --http-proxy-temp-path=/var/lib/nginx/tmp/proxy --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi --http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi --http-scgi-temp-path=/var/lib/nginx/tmp/scgi --pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx --user=nginx --group=nginx --with-file-aio --with-ipv6 --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_image_filter_module --with-http_geoip_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module --with-http_perl_module --with-mail --with-mail_ssl_module --with-debug --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --with-ld-opt=-Wl,-E
3 m2 ]4 m1 W, }. R6 K
1 h& m# I" D9 w  S  q
' g, [4 C" s) y8 O$ }
nginx       service nginx start   ) ?: n, X$ V) V: P' o/ j
error :
# ?# V  w2 C" k' G/ B- O! Znginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40+ q- M% u0 i  l$ s; T3 ?
nginx: configuration file /etc/nginx/nginx.conf test failed9 ^8 j# N) e, K9 z; Q. Z
閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭! P! {3 }9 r7 v+ V( J( K- a
SELINUX =  enforcing    寞   disabled
5 [8 ^$ {$ m9 T) h8 I8 b* A  t

, M& L  C/ S- H! b! B
3 C% |. \* W' W$ L2 J/ A
" v! \  l& @7 w- F2 L" r. Y. [' ]
$ h$ f" s9 a: l' Y9 h- c

雿輻券

祉蝛閬

砍憛批捆靘餉衣雯頝臬批捆蝝颲行粹嗥蝬脩嚗摰撟湔遛嚗嚗甇脖誑銝嗅啣摰嗆摰撟湧翩鈭箏ㄚ孵舫脣伐銝憿亙祉璇甈橘芣遛18甇 雓蝯脣亦閬賬粹脩芣遛18甇脖芣撟渡雯閬賜雯頝臭嗥批捆鞈閮嚗撱箄降典舫脰蝬脰楝批捆蝝蝯蝜ICRA蝝摰鋆閮剖 (粹蝯行霅 祉蝬脣銝蝝瘛函隢憯啣嚗祉閮剜蝞∠)

QQ|撠暺撅||52AV璈A

GMT+8, 2026-3-29 18:39 , Processed in 0.076708 second(s), 16 queries .

蝯∠.撱

52avtv@gmail.com | QQ:2405733034     since 2015-01

鋆貉憒 敹恍敺 餈銵