52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx8 {4 |- l7 a8 s) M% G; g! S
yum install nginx9 l8 x* f  ]& @& }. T) z
..........
; |  D' d; D$ _7 M5 `/ tRunning Transaction
/ Q1 R2 w% J( `( M, _! g. L7 h% U  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/30 H  x% h" m7 `
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3; G: g! @& ~* i9 Q
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3" p$ J0 p2 e6 e* m
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3
0 T# a& B2 X. s  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
- f; u* q+ \$ a$ K) t1 n  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/37 e8 W' ~, s: L) z$ A6 [

: [; I. J& k& w4 y/ oInstalled:
  z! I5 u. K& F, `; W' a% f  nginx.x86_64 0:1.0.15-11.el6( \& r( H, y( d3 L# n" P9 t: W: o
Dependency Installed:- p% c8 Y/ M  Z
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
* Q( S2 f& H0 m- ?& o8 JComplete!' ~& b4 M/ p4 J/ U5 _: o) o; b
9 C5 V1 W: w! U
閮剖/etc/nginx/nginx.conf

3 {; z  ]! y6 B2 P& {) S" X+ a; S' t7 y4 E3 F
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html" d+ s$ Q9 ?  d9 y  ?& O% A1 }
閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error) p9 g+ {. v  H* Z
# Z9 ~, [  [4 e- O
php-fpm service php-fpm start3 z* e. h7 i4 ^: ]: s
nginx      
service nginx start! N( Q& v4 @  d) S$ T

( K. Q. H8 B$ h; i" U, y! @/ T箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

* s9 G/ a+ p: K, a) \! T閫瘙& z) h; K0 N0 Y# L
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
4 G0 D/ g- a* R. O; Z( T& W* j銝甈∪nginx
service nginx start, Y% u, ?& ]; e5 I: Q% I# B. e& x2 |
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
- U2 m! B/ l2 s4 Y# d亦nginx configure /usr/sbin/nginx -V, _4 r! t' F2 l- c
nginx version: nginx/1.0.156 s8 h6 J) ?$ s! l$ C; J
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
2 B4 {2 ~. m/ j) ZTLS SNI support enabled

6 [* K' u: K3 i' b5 g# Tconfigure 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
# w. u- R# T4 Y* E- W' V8 A8 k% x

! z! f1 P# q; B* U9 d5 d& k
: i. @( q4 q: w1 r/ ^/ I/ ?
nginx       service nginx start   
- O, K6 g4 y6 F/ U5 o, b& V( i, cerror : & a) Y1 S: j# w2 ]6 Z/ |
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40, Y& E4 i: v: C  G$ I/ u( Z
nginx: configuration file /etc/nginx/nginx.conf test failed9 h- H2 ?' s" f& V% C
閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
+ @# R' b( E$ i4 k6 [8 N, K3 c& i( GSELINUX =  enforcing    寞   disabled
6 B" S" i$ H* i) p' A( H/ z
0 k% k7 P  `: H6 C4 I
- o3 ?8 [. ]6 t, v  w# }! r' c

; k$ r+ {, a1 Z# Q% }& ?) m$ O; j7 {; f* _4 r

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-3-29 08:00 , Processed in 0.069105 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵