52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |甇摨閬 |梯璅∪
1摰鋆nginx9 p# Y6 r: \7 f+ N
yum install nginx( G" I1 E$ q3 j5 C) s; g
..........3 |9 b. e& O; J) b% {" f
Running Transaction
, [7 R+ I0 J6 F" F' c4 n+ q/ f  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3" k$ z: {2 p7 G5 X( G
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/39 `8 }/ U1 a: q
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/30 O: @0 ~, |+ r8 u1 t4 c; q
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3
5 p1 S) ]5 V$ n  C7 {# C  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
9 v, {) n& S; o9 d% ?* p  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3! H$ j+ x7 {3 b

. N6 F. c9 N/ }# k" [- [1 O. [Installed:: S6 }6 w( ~8 C3 w1 z% E# e
  nginx.x86_64 0:1.0.15-11.el6
, L0 z7 L0 E/ G# K& R* yDependency Installed:- _8 {/ W6 R. a& Q3 o2 l6 K
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6* T9 U3 `% T! {& D4 g$ {; m
Complete!
) a7 K8 c/ k- V% L6 c4 N# Z9 o6 e' y1 K% U* w5 F; @4 H
閮剖/etc/nginx/nginx.conf

: i* o1 H) p! c7 D, g
6 Y& C) m) h9 J; q
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html1 n2 o$ A, N' \, L" f$ @
閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
# V9 F# o( B9 U7 x0 Z; G' m3 O- z  J/ U8 w/ v* ~  b! O' T* K
php-fpm service php-fpm start% v- f6 A2 g+ O( k
nginx      
service nginx start
3 H9 X; ?+ g& ~$ f
1 O8 g/ W% f9 N( p4 r
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

2 X& X6 D9 J% O% N! h8 A閫瘙  T7 i% z) E0 c0 `# R2 L
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64) ^/ L. F$ X1 T5 y* o$ P: Y' @8 R
銝甈∪nginx
service nginx start
% G) f. `; Z2 f! s* I9 m
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46/ j8 O& T% N. R* n
亦nginx configure /usr/sbin/nginx -V5 w$ C$ |0 Q6 c+ V7 p7 u( H
nginx version: nginx/1.0.15+ Y# \( i+ e6 [0 Z$ t; H
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)- l6 e- D* t8 @& u, Y% `
TLS SNI support enabled

- U. ?( C( P( Q+ b' n! u5 T$ sconfigure 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
' Y- {# O, `# }$ F" h; ]& B* {
1 L8 B, B6 s+ I1 T2 ?- j& l

8 Q5 D! T6 Q# k: r6 g3 fnginx       service nginx start   : W( O& ]1 W, [- u2 k% m) C' A8 s
error :
5 r4 r0 U+ X9 t( n& dnginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40
, p# `" x7 z9 g, J( [' W7 n) C* cnginx: configuration file /etc/nginx/nginx.conf test failed( z" c9 [. U+ o& S
閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
  t, h2 S3 p1 Q/ M# Z" PSELINUX =  enforcing    寞   disabled % n- t) a& Q6 }  h6 ?

" @4 N8 D. w; y7 l- ^% z. C

; j8 k' L, H2 F8 n9 h' i5 \% V2 }. x: O3 [7 @/ z

$ b# k5 K. r  s6 f3 ]+ w) _

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-3-18 18:47 , Processed in 0.077811 second(s), 17 queries .

蝯∠.撱

[email protected] | QQ:2405733034     since 2015-01

鋆貉憒 敹恍敺 餈銵