52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx
9 V0 h9 D8 p# }: T& q7 }' y' K yum install nginx
9 A! V$ R& N5 L4 ]........... e& ?+ @4 O: A4 G4 T: t" r
Running Transaction* Q: q; ]  C/ K. E, g
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
: h- j( r" G# Z5 N& D. x4 m  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
7 S% V, T) d5 F8 [2 o9 @- Y  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3
; @6 Y: m# `4 N  \7 s  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3- m( I2 p0 U& f: q7 ]& H
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3, N  r2 \0 Q/ d) i2 X" x* ~
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3, g- z3 U! E" V& m1 `. N) v4 v
0 d/ f6 p7 w- a  [) o+ u
Installed:
, [( y; ?! J, A- I& h$ H! R  nginx.x86_64 0:1.0.15-11.el6
) o3 a3 `# ~% E1 W; KDependency Installed:6 s( u' L  F& M* s
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
/ j- Q& D4 r/ BComplete!* |* X6 q- B3 |# x; D( S/ a

8 v' T4 P, @# y# U. ]# f+ l閮剖/etc/nginx/nginx.conf
' x6 o) a, R2 M8 f

" m" W, H6 w5 e
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html3 n8 C! N! q$ M. `8 M' J9 U
閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
2 i5 L1 R/ Z- B- U$ E) K
9 L0 H% K+ G* p5 V+ e$ O
php-fpm service php-fpm start
3 g! {2 t2 M4 Ynginx      
service nginx start
5 l, B4 f& |: C+ R, t

) s* d( v( v+ q9 G; y. Y3 Y6 \箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

9 h* J' ]( e9 M1 [: }閫瘙
! @7 B% r  f* t# W8 E) k1 V( z9 {餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib643 x3 J0 J0 [$ S+ t
銝甈∪nginx
service nginx start
0 N/ [3 F5 h; b  l; W" z- M
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
" \) u: |* D6 t# R! U; g: h, n亦nginx configure /usr/sbin/nginx -V/ L! f" o: g/ ?5 z+ d
nginx version: nginx/1.0.154 A. C9 z" _# }
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
, a- R" `: B5 }TLS SNI support enabled

: T. o! D9 r, v6 _- r- econfigure 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
9 f" H5 B4 A8 q6 k

% K/ [! [8 ]7 k7 l6 u

& L0 u9 `# z# w' ?nginx       service nginx start   
! C! C# i9 g6 ]/ T# ]0 q% J* _7 O3 ~error : 2 M2 p1 j% g4 G: A$ i  |- }' @
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40
8 t7 D; Z, K, p) ]# mnginx: configuration file /etc/nginx/nginx.conf test failed; o# W$ z# Z7 a# Y& f$ j
閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
# d0 u9 n! O6 J& o# e+ J: C% O+ a" ESELINUX =  enforcing    寞   disabled * O$ r8 g: h) p! m8 H
' e( h9 N' V& i2 m& R% M4 r) N

" S4 `7 \+ `7 \- m6 T8 y  i" y0 \  G% `& ~' m5 ^

1 x2 Q) S& b% a& D

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-3-1 16:35 , Processed in 0.070245 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵