52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx
1 I, |3 E  k3 @4 E8 g# Q- L$ c' y yum install nginx/ j# d& ?# K+ p
..........
$ _3 u- R6 F" MRunning Transaction9 U4 R5 s+ E& c% G5 g! C0 P
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
  B) E7 x, V' J: Q3 u5 q+ z  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/33 n9 k+ H" z$ I* P. J& w8 M
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3
0 a; u) i* }" s) e( C  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3
! X$ c+ [9 c( F; ^' P  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
; F# P1 `5 f" h+ B  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
) q! s# w$ s1 t- h3 r- y, Z
# I% r4 F+ f5 A& Y* [# VInstalled:+ K  d- X5 t5 i  n- n
  nginx.x86_64 0:1.0.15-11.el6
0 S8 A& y& L( n& R  V* fDependency Installed:
" z6 A+ h' C' q% K% o  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
! e) t6 y. y* t) U, Y8 Y1 h. {Complete!
+ s- {# F/ N. O- U! D% X6 f0 \, N( w+ K- M4 \
閮剖/etc/nginx/nginx.conf

0 D  Y/ {' I. F7 @& ]- G- Q( I1 x- V: I! d7 u& F  D
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
  c% y9 _; W" W. y. O/ d) \閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error, a' I8 i' s/ Z5 W1 M1 C

' ~6 Z) A' H3 a
php-fpm service php-fpm start
8 _. X+ z) M6 p: q5 H( h$ Xnginx      
service nginx start
6 d: D4 R7 w& B" i& E, E; D' [+ k

8 z6 ]4 Q% Z5 i1 w箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
1 e" d) k6 Q+ K" G
閫瘙# n! R* c3 S% \8 h8 ]. c: }
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64% q, }5 m/ ?3 p; N( C9 ^3 ]
銝甈∪nginx
service nginx start$ q6 B+ O2 o' ?$ T* M* r& Q
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:460 A; ^1 f  }4 `
亦nginx configure /usr/sbin/nginx -V: M9 n; ^$ `+ L7 Q& m
nginx version: nginx/1.0.152 b& C8 c8 P' P) a# G6 s
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
1 n0 n1 T- a/ @' y( |TLS SNI support enabled

, [7 P1 R# ?& O5 ]3 o0 oconfigure 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,-E6 s7 n1 w3 O  b) L% g' {# u
( b+ F8 Y# U% |" f; n$ M4 m, I
: _) I1 a+ \. f
nginx       service nginx start   
; R* f& F  S* H% F' i6 O  l( d+ terror : - _9 c9 z* u: n& c8 |! Z, w
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40( S( w% Y4 q. B! H- K6 X' M- _/ R
nginx: configuration file /etc/nginx/nginx.conf test failed6 u- z7 ]; u4 j- N- m: C1 w
閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭) o5 m) u7 `* K; c* v7 G
SELINUX =  enforcing    寞   disabled ! @" b& @- i: x9 e; ^7 `3 G$ B2 \

+ [3 ?& E$ G2 ~) n1 E$ \& j, S. P) ]
3 T6 d3 j8 ^8 e; _

9 R# {4 ^0 F- C3 u. q% W  M& ~8 t

雿輻券

祉蝛閬

撠蝝詨

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

QQ|撠暺撅||52AV璈A

GMT+8, 2025-12-6 10:21 , Processed in 0.075170 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵