52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |甇摨閬 |梯璅∪
1摰鋆nginx
& D; l8 L+ @5 F6 K, ?5 {$ e" [9 m yum install nginx$ D, W, w% l- [- F9 u5 |
..........
4 D6 E6 }/ x; d/ ~: k2 KRunning Transaction3 v5 k; h9 [/ {2 R+ X
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/31 h: a6 b% U; [2 W' `  i6 i9 I+ D
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
& K' e( I8 |: e1 Q" k/ o* d+ k- ]  Installing : nginx-1.0.15-11.el6.x86_64                                             3/33 y6 P' Q6 }5 P0 M! M# s
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3
+ D0 D$ U" S$ k- ]! V# e' V  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/39 z, m9 [- C6 y* ?
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3* Z7 F4 \, T- q6 W

' m4 G( L) a. V& s$ O4 kInstalled:
8 y- ~% [& z, J! o5 C! l  nginx.x86_64 0:1.0.15-11.el6$ O& i9 N: |" ~$ _
Dependency Installed:
! P+ E" A& k5 C0 Z& {0 C8 m4 l% M$ @  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el60 B% ]2 w+ f0 V) [
Complete!
' j8 z9 F4 F! y) G. Q6 W7 p) g/ V* I! [' E% z
閮剖/etc/nginx/nginx.conf

: J3 a; [& G* m6 K5 S, j4 L5 u: O- k1 T4 v+ n% t
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html2 @. W$ s" Q; B% c8 m# m- r' H
閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
2 f! W; e  I) J* a9 O, ]. T  M! y: E' X# s
php-fpm service php-fpm start/ w  Q  j( l; l* a* n
nginx      
service nginx start
2 y" ~+ C1 H5 D
0 L: G+ l1 W5 G, r
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
$ J( C4 F0 Y1 ^2 h" B; s
閫瘙& I$ O: z$ e# g2 [, {
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib649 S4 J5 N& k0 Q
銝甈∪nginx
service nginx start  f5 k- n; c, y& M' U3 u
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
( G. i1 N( x4 n" Y$ V) `亦nginx configure /usr/sbin/nginx -V5 K# H9 g; V( _' m) P2 p
nginx version: nginx/1.0.15
- S8 f- G, h: o( _2 Z; a9 Pbuilt by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
5 F7 g$ \$ L$ K. d& |. n5 ^TLS SNI support enabled
- V  M% W- h5 Z
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 a) F! G  z( P7 h" H

% K* f) {! ~- P' a  I
. e6 D  c; Q0 p# z& h- _8 e4 H" j
nginx       service nginx start   
" @- f! e* L& j) V) x/ Lerror :
( R* |# x! M* m8 E& r* {1 Pnginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:409 [9 s2 u) B! q3 i: J
nginx: configuration file /etc/nginx/nginx.conf test failed
" j( o, K: L- f: j# c閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
: N6 g( M; {1 ]8 bSELINUX =  enforcing    寞   disabled # v9 U9 b+ A9 T/ ^0 n1 z. T6 u0 n/ T
  [9 ]0 e) f8 _2 n
( m7 V( d& ]4 |* j4 h  z3 K
% Z. U  Q* [7 h  k0 F- t- ^2 T# U: N
  G4 a8 x$ o! _% t/ S3 W

雿輻券

祉蝛閬

撠蝝詨

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

QQ|撠暺撅||52AV璈A

GMT+8, 2025-12-6 06:08 , Processed in 0.066483 second(s), 17 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵