52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx
2 B% F# A1 N4 v" `) E yum install nginx
" x6 ?0 y8 D  u( J' k..........! z9 V5 r; Y# t! C5 B  Z1 a
Running Transaction
& F; q. a; L) c6 G* V9 n& M# Z1 N# Y  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
4 E  g1 _; V  T( n( E# ~# f! b' W  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
) `( ]8 ~3 }; n0 {  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3% P, o3 K. p% x
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3  [, F5 H# c4 o; u5 _3 O* I
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/35 v( P' ]. D  W: Q" D; T
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3# n- C9 H. o5 v; ]" T# }
; r/ w, \3 [. r5 x
Installed:4 r( i" R. Y9 p% P/ M
  nginx.x86_64 0:1.0.15-11.el6
  |( f1 j' {8 d# x% zDependency Installed:
8 p% \- n- o8 u8 H  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
! i3 s$ h. N' O0 W( bComplete!6 h/ l" @* a% Y* o! I( i7 L) I

# f7 t9 c  b. t% L# U0 ^閮剖/etc/nginx/nginx.conf
0 G, ^8 y- \3 M+ l; V
5 K  w0 o8 F9 R; B. X6 K, A8 G
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
" d: c& n$ L7 @( z9 V, S閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error7 ^7 y2 y: n5 A: S* m/ v

) C) J$ s2 T3 R0 ^' Z: {5 A+ i
php-fpm service php-fpm start
' t' l# s1 s' ynginx      
service nginx start+ c/ |$ w7 x6 j) ^" i0 _+ v

+ D/ b* T2 j2 u箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
8 l) `$ F1 N- x$ V9 [3 Y& T3 z
閫瘙
6 }( V: [& U3 Q, b餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
+ ?( [9 n9 b6 T( X銝甈∪nginx
service nginx start% r$ K# e3 D0 S7 @) t
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
* D. N' B& N: d& g亦nginx configure /usr/sbin/nginx -V
  D# u5 s' L/ Y# T' T: T. b: f. Snginx version: nginx/1.0.15/ T2 H* M$ h7 M. O1 T" Q
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
: [& @/ w5 o7 d) b: |/ ]6 h4 CTLS SNI support enabled
4 o% R  B2 L5 {. G- O
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,-E
3 j; _( g5 @7 k( }
7 x1 }4 q  S( {6 ^0 n

6 |+ s( Q% G" C& n) K. ]* Pnginx       service nginx start   - T! o8 s' |8 i
error :
9 W2 r; Y6 U: m4 Y( z" f0 r& i! snginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40% N( G' v8 ~5 H: R; ]* U2 J- a
nginx: configuration file /etc/nginx/nginx.conf test failed
8 J" A2 H( T# j" ~5 A  \: Y* e閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
  ?  t8 B/ K4 R& w! iSELINUX =  enforcing    寞   disabled ; z! y5 g% X4 w6 a" x

0 u- p0 o, Z$ W$ ?8 b3 f8 q  ?

' w1 y: a8 H4 g9 O0 s# j( q9 P. M

* H" B( ]3 w7 Z+ N! p4 r

雿輻券

祉蝛閬

BT蝳

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

QQ|撠暺撅||52AV璈A

GMT+8, 2024-11-21 23:25 , Processed in 0.065990 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵