52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |甇摨閬 |梯璅∪
1摰鋆nginx& \) I  [( V$ k+ p" l/ g
yum install nginx
4 |' ]' {/ m" ?  m; L' C..........
: Z  H6 W, e/ L% K( @: @- yRunning Transaction
3 a. b4 A6 P0 |; R/ o! O  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/38 d. x3 ?6 a+ N) |8 w5 X: M  N- p7 V
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3; W. A. x5 @3 U3 L7 X' a/ ]
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3- e5 x! V+ e2 s- ^' _) m
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/36 P. }" J1 h, P7 Y  R' J1 C7 A" O. [
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
2 i# G) G" X8 M  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3$ R& o0 [7 e9 R6 P7 [) w( ^! s. z( n# t
( f2 a% z4 U; y: z( I
Installed:3 N4 G9 `* \. f& v6 K- i  Y1 y
  nginx.x86_64 0:1.0.15-11.el6; X, ?6 J. O8 s! r1 R2 E/ t: U
Dependency Installed:& _( X8 {" x- w9 B  I1 G- l) d
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el62 G* g1 T* J  }$ G0 J) Q
Complete!6 f! I9 O  [' Z' v: k8 Q- K" s
5 [$ A, x% r  f) `& P
閮剖/etc/nginx/nginx.conf
5 P0 H6 x) j5 X
! s/ g. ?9 I6 }2 `
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
& E, r9 K: A& ~閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error0 `2 G7 P. \, f: y9 C# S
/ h* j) U6 Z; c' ~, F+ ?
php-fpm service php-fpm start: z1 X6 `6 b. E' e% w  s
nginx      
service nginx start
- V/ A& }2 @; T5 ?
$ {7 A' H( m- c+ |+ ^& V' W/ X; v
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
4 W8 }4 ]# e1 q; i) p
閫瘙
, G0 X* h5 x3 L% H餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
6 M5 _0 }0 F: l: ?7 @$ @& L銝甈∪nginx
service nginx start
5 u6 i) s+ }  ]0 n5 _3 u
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46& E" s$ W, S8 Z4 H9 h; {0 v
亦nginx configure /usr/sbin/nginx -V3 i5 A+ P$ X# m7 s
nginx version: nginx/1.0.15: B' l9 V( c8 e3 |; \3 S3 y
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)' `7 S8 |% X4 ]8 P
TLS SNI support enabled
5 f  w: Q5 S# M+ P% E8 Y3 a2 y
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,-E3 x- _( q! @& |; Q$ P. ^" i

( V' ^3 c8 ?. B, E. R

5 b: i( J$ W1 e  ~$ Tnginx       service nginx start   
( R8 j! L! J+ c( h7 y6 X/ Kerror : " N* r, M1 D$ Q/ [
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40
- p% e8 z/ D' L% D6 @# \nginx: configuration file /etc/nginx/nginx.conf test failed
& e/ V) z( u$ ]0 p0 r  w8 w閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
; I4 E5 ?; y4 t4 P% O+ L* A; ISELINUX =  enforcing    寞   disabled , y" p# z  m- i) ]" v  Q& E* U; m
$ u3 y! [* r0 ]5 z/ L, B
' M1 V. E6 B/ h. X# I) H5 U

7 I& t& U. p1 C& e4 Y) _) B- `& _" |

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-3-29 09:39 , Processed in 0.076846 second(s), 17 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵