52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx' o7 k7 J0 G9 f$ K3 l
yum install nginx7 u* N8 G1 M7 Z; |! \8 N" u& n
..........1 U0 J# w5 V& x5 H/ j
Running Transaction
! n" U' y- E# A" S3 l" D' w- \$ j# Z  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3: V2 d' j0 M3 w5 B! T
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
: b" v" x& M. Q, t  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3
; ?5 G# d3 S2 \$ N, B# }  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/31 p: i8 F# G: Q9 Q' S8 [9 X
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
4 S  g% @; s/ v5 y  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/38 z+ Z! q/ j+ _+ v0 U* s9 R( s: t

% r* r& z! Z4 F% j9 A2 T$ F3 `Installed:
' Y; L$ A2 G- ^  nginx.x86_64 0:1.0.15-11.el6
5 X! {( r( l( [) @6 t- V/ cDependency Installed:' g6 T) X' D' T% C
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el67 h% k' Y0 P9 e2 r
Complete!7 \2 [& a& N, b& J
, H( o% a6 A8 d, s) q0 l6 L4 }
閮剖/etc/nginx/nginx.conf

% i* ^* D5 F# V: q) [+ l! G) D, ~# z  v
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
. J- @" y  u9 q/ P% H2 P5 c! [閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
0 H, J. a% n1 w  ~2 C& t- B% g$ `% `& ?8 q
php-fpm service php-fpm start
' y# E% o; Z, b1 Fnginx      
service nginx start4 h' j; t3 S+ p  L
0 E( s) ?% ]8 v6 g( x9 Z
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
0 Q5 K2 x! ~9 m/ {, [
閫瘙
; x" Y, Q4 c# N) _餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64, a1 j: R/ z) B$ H( s2 g, S+ v
銝甈∪nginx
service nginx start) b1 X* p7 |% {
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:469 R1 w2 F+ H: i% Q6 R
亦nginx configure /usr/sbin/nginx -V$ e2 p5 U8 Y0 N9 A
nginx version: nginx/1.0.15- z- S& m" o  A9 e6 Z! ]- N6 H
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)9 P1 d0 C$ p9 j. O
TLS SNI support enabled

4 n* f' n9 A- j: Y2 nconfigure 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 n% s, Z; N, f

/ w6 K; P/ B( M* K7 x

- A! p; m; t3 V6 }$ Mnginx       service nginx start   1 |' A" G& h1 u' A
error : $ m6 }+ |! s5 u  J# p8 c
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:402 [) M! I  X2 ^; `( S4 `9 C( H
nginx: configuration file /etc/nginx/nginx.conf test failed
0 t; v2 H( K" Q閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
( h8 t6 U. L6 w; A+ sSELINUX =  enforcing    寞   disabled - u. `& ?, t* \3 C3 n1 Y* A

2 E+ i" H' T9 d) I

8 B- k% P# o* K1 S7 b
, K- x* K: o6 n0 F  k* n
4 g1 x) w& l% ~5 l

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-2-9 07:58 , Processed in 0.071765 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵