52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx
$ h4 J4 q' p% R1 { yum install nginx
( L5 |( l. y& c; w0 K..........0 P6 |7 L) f* a& Z0 O# L) q1 b; P
Running Transaction" m( m2 p+ p% }  X7 ~
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
% E: c' _  ~  s6 G% c7 E6 `! Z3 l  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
: O* C& n# i, o- `* ?7 l, b  Installing : nginx-1.0.15-11.el6.x86_64                                             3/35 ]+ I' v. Q) I, Q4 |2 o
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3
; D  l4 Z5 F/ O) O" G  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3. f* T3 h) C7 |2 H. `8 \
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
2 t" x7 V( M8 }( I" e* f+ u3 b+ o; i! b1 i) }- L  b3 y, v  F0 @* |- C$ D
Installed:- M- T+ a9 v9 T+ W6 g9 R7 k
  nginx.x86_64 0:1.0.15-11.el6
6 G. _4 a5 N& n2 `! N, }Dependency Installed:
; x7 b. u8 Y  t8 h  Y5 T  D! u  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
5 d) o+ a3 B7 N9 V( Z2 z" }Complete!& h6 ~3 p6 U/ \" g
9 a6 L# k+ Q- Q7 N/ H0 o& I. m5 \
閮剖/etc/nginx/nginx.conf

8 e7 ?2 X3 a3 J! {- g+ ~' L. l$ H9 ^. k
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
# t2 \' X" i$ ^. w$ B閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
* j% j$ ]. r* Y6 ]) l8 O9 D+ j" ^( V* W1 e) {
php-fpm service php-fpm start, V( d% z0 ^+ p, C/ f9 W- b: B
nginx      
service nginx start
' `2 ~! f0 i# Y/ W5 t$ _9 y/ A

: A- T) _" z- k( D7 A# K箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

" D6 r/ Q+ |9 M& ^閫瘙
% d, h9 I( ]2 y' w% Y餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
. [  K/ t! k' A銝甈∪nginx
service nginx start- c2 w& Y1 e0 i
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
0 B+ w' U* C# \亦nginx configure /usr/sbin/nginx -V
* J$ Q% Z/ V! ^' B! I2 b1 j5 dnginx version: nginx/1.0.15
- y$ b5 _0 o3 G! s/ obuilt by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)5 T8 D2 T5 N& Y" n
TLS SNI support enabled

& i# b% _$ c$ F  ?; [) u2 nconfigure 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
9 ?, _6 W! Y! k4 h2 H

9 R& k, [  B& C/ `, z$ N6 S
4 r* y$ E0 s: w/ p1 D
nginx       service nginx start   
5 y# ^* u/ \4 r. |6 |$ ^error :
. c" o7 S# {: U( w3 Gnginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40
0 t) O( P) |4 M- u, Knginx: configuration file /etc/nginx/nginx.conf test failed2 V( P& S. g; a0 K* F6 g3 x
閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
) N: J3 ~; q$ g) j; g& y4 F1 O- d& M: uSELINUX =  enforcing    寞   disabled
$ V2 q  b/ S5 h
5 f) A, _" K, J
& q2 f+ `3 B" L& }: a4 {
* y" V% K, p/ B, U" M
: h( a! o' p+ B7 W2 A

雿輻券

祉蝛閬

撠蝝詨

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

QQ|撠暺撅||52AV璈A

GMT+8, 2025-12-6 06:05 , Processed in 0.065965 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵