52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx7 o8 e$ U4 Z! x( x  v3 m9 B) F( g
yum install nginx
7 ]8 j0 |$ M7 }. ?' L, V..........9 L  J1 V8 }! O: F# R; H
Running Transaction
# T7 ]' H5 d4 L+ N: y+ E- C  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3; x: C3 D6 [8 g. N# D; H
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
" y' K6 e2 J0 x: Y5 ^: ~  @  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3/ R' n2 d9 |8 V. F! Z& h
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/37 h4 [( d4 D  G4 U8 ]- m' a" x
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3/ b2 N, V3 e" z1 z: u$ s1 p/ O
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3% W8 B( h7 N9 ~; r& z/ h

7 j, ^2 B; }/ a3 bInstalled:4 Q; V9 |7 |- V, j/ D" S- b* ?' ?
  nginx.x86_64 0:1.0.15-11.el60 F$ Q5 m( s. U+ |! p
Dependency Installed:5 A, d* w* |  g5 m4 L( i
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
% ^4 H) x$ S, P# c- h$ tComplete!
2 T' y, [* o; P5 K4 c
4 {# \2 d& y' h' K2 ~( b閮剖/etc/nginx/nginx.conf

: x. q7 [3 J* t1 o0 d/ j7 V: F' F
1 N0 X9 s3 _. m$ u8 `
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html( I. @' W5 B6 @# I. h. |
閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error- p% T. G8 J, v! ?9 [

' s' V% E; k, T- q3 Z
php-fpm service php-fpm start9 H8 U+ _: ^; o4 V2 Z9 d
nginx      
service nginx start
4 _4 P) A8 Y% P3 H5 s5 ?8 `

" I, e% v+ p% f箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

3 b1 |' f; z4 X2 q8 l閫瘙" l( U' T7 r9 W" b- A
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
" C* j! M; @3 U2 @銝甈∪nginx
service nginx start& e2 f4 ^- c- t5 ~
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:463 j6 I3 W9 C4 z: W" j) E: ^) w
亦nginx configure /usr/sbin/nginx -V1 }* E' J. h) G0 J" L7 o
nginx version: nginx/1.0.15$ R) [/ F& a1 i0 x2 M
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)/ Z  f; w% F6 s* x$ E
TLS SNI support enabled

' g  Q* Y1 l2 f: ?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,-E1 a- O8 P$ p. n) M
) W! ~+ p  ^* \# q- C- \0 m5 x
: B3 X) P. h: a$ a! M
nginx       service nginx start   
6 I: W; B9 o0 R, Gerror : 1 ]: |  d+ }7 J  i) v" [& \8 Q% V
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40$ {+ ?( s/ [. X
nginx: configuration file /etc/nginx/nginx.conf test failed
: X* g7 N/ k- T+ L. {8 C閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭+ _+ u4 K. Y+ z& x& R) r& W3 p
SELINUX =  enforcing    寞   disabled 4 v: p0 _& ], O/ u( ]) H9 ]
# N3 t8 Q3 Z+ @) C
; b0 O% j* B' `; B# k5 w* [% I
5 a$ \% h# D: ^' @4 W6 {7 G- T; J2 _
8 S, ?" B6 l2 H, f

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-3-30 19:59 , Processed in 0.066166 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵