52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx
8 _# _, r6 _! ]9 _+ W yum install nginx# T0 [; d. \- p. t! b. i- ^
..........
1 h& c0 S& z% i  JRunning Transaction: l) x1 i- J  K2 h
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
$ Z& w: _1 U/ g2 f! M  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/39 g3 }! V* r, e+ }0 V
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3$ |' R& }8 k7 s9 F$ {8 t
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/31 k) ^5 i9 v2 R
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
% [  l8 d  r1 `  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
4 l9 Y3 }: _7 d7 x& Y& ]7 F/ u
& v  E  W' W" B5 X3 X6 ^: t, }Installed:  }% K3 x6 u+ L: d7 x. c" M
  nginx.x86_64 0:1.0.15-11.el6
: o/ ]# H9 T9 {% s' P) a% X/ h8 \Dependency Installed:
) h! o: A+ W6 y, E, e  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6/ R" K! b( v+ X- j5 W
Complete!9 j3 I) m0 u8 J% k8 b4 p
9 l1 E, l" a" f6 w- X# ]& w. t# h
閮剖/etc/nginx/nginx.conf

1 Z. O" n9 W1 f0 q, A* j  t0 s; s6 P" c: T$ w
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html- h3 ~* v0 f4 Z6 ]' S- C2 Z
閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error; u& k* }# q4 H0 K" h
! c! n  j: h$ w  D, i. }  e- x
php-fpm service php-fpm start
" m! R& C! R, Xnginx      
service nginx start5 T+ F9 g. B4 Q) A' ^1 O( r2 h# `3 l

9 B1 A* P3 s' z* u箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
% k5 U$ U4 _3 a
閫瘙
% C+ \2 b, ]- u/ R餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
$ g( \2 t, ^% `& w, S; j9 ]* F銝甈∪nginx
service nginx start  [  W; N& q% c- F
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
" k( m% c( S* P亦nginx configure /usr/sbin/nginx -V+ _" A. r! C' D; C) I
nginx version: nginx/1.0.153 u4 q# X# V; }8 T
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
6 E: w& L- u! ETLS SNI support enabled

" n+ i7 B, j- iconfigure 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' ^" o) v5 @1 z5 Q
4 ?/ {* P% ~3 p! J7 S
6 D# `* w% Q+ {. o* n
nginx       service nginx start   8 z4 k& H" \& S2 Z8 [' X$ G: c8 c
error :   [; T9 M( n" c% z& S/ d4 [
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:405 Y2 L( R/ h0 F; w: t0 j
nginx: configuration file /etc/nginx/nginx.conf test failed
/ W: X1 g% _! ]/ q0 v; Q閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭$ j0 @) d& ~- P! K
SELINUX =  enforcing    寞   disabled 0 q2 a; m7 {7 K' ^9 O* w
. X& \2 b. K8 t* M( ~
2 t3 @! g5 b& f6 Y

) \4 e7 E& }8 n2 h; X9 _6 l( E7 g$ |; G: B" Y& q7 {% Q4 ^

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-3-1 18:19 , Processed in 0.078763 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵