52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |甇摨閬 |梯璅∪
1摰鋆nginx
% N5 T8 B* _5 j/ o9 R8 W1 r yum install nginx
/ W/ |# g. c# l: J0 O6 ~! ?4 _1 r$ U........... p& X/ h2 ~5 L- z$ A. M
Running Transaction: ]- T3 [) U! m6 W" l& ~2 t: [% W0 w
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3/ Q% j: P6 H7 ?% Z4 w4 X3 y1 i' C) i  b
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
8 E9 d6 F6 ~* x* W$ G& a  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3
1 r1 L0 W6 I$ k, X" S$ k  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3) d! }8 F' H  D4 F, o
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3& B7 N. N; o1 c0 [) R( _
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
+ j# m3 r: y9 ~/ C) x6 `2 F
+ g0 r$ p, \9 x2 w1 m+ U+ D+ oInstalled:
6 P3 c  c7 G9 L' T! [- m7 {) h  nginx.x86_64 0:1.0.15-11.el6! X* H' `) ?2 \$ K+ B5 v2 Y8 m
Dependency Installed:
' ~3 x, Z2 I( X  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6& M- T' y& r/ c9 T' U
Complete!& x, O: W& X# H1 X* }5 V2 R9 y
  J4 F  q# q' p/ _2 h, E
閮剖/etc/nginx/nginx.conf

# L' {* r' }+ A$ g( r, j5 M+ g0 _5 K- V6 S4 `6 P7 ^% s
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
) w" V/ H4 m5 m+ M! {8 `' }閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
; |( Z" @4 n. y3 x4 J
# P& X" X6 ^+ P9 z/ u$ M
php-fpm service php-fpm start
" h7 C, [2 H0 k. pnginx      
service nginx start
5 X# E' q& I' H: w' W

5 I& A7 p. l; s, K箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

2 F9 A) T  B2 ]9 o$ f閫瘙% I9 Y+ v7 N3 V1 Q7 o% M2 |
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64) L) @* l- J8 h% E  p
銝甈∪nginx
service nginx start1 }2 m& v1 N9 B
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
' _* B+ N- k$ G: M0 U! H  a7 g亦nginx configure /usr/sbin/nginx -V
7 W/ B. N& G. S" D, H1 z4 fnginx version: nginx/1.0.15
) B5 A( C+ f' Y% v6 r' e5 d: abuilt by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
, U! E) z( ~" H6 nTLS SNI support enabled

# f  E* s* y% p) kconfigure 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, M! }# O9 ^! \3 X7 o$ o

7 l$ L; h' K+ [1 D0 J
! @; D6 }7 @1 d, X% P, m: N
nginx       service nginx start   6 V, P5 A. u' l1 a* G8 l# T2 ?
error :   W, }$ V/ E2 E, c7 z, d+ w
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40
0 k$ [& x$ U6 Q0 ]nginx: configuration file /etc/nginx/nginx.conf test failed- F' n: @4 {7 l
閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭0 S2 r' @: E) H5 E! ^2 S7 Z) i
SELINUX =  enforcing    寞   disabled / f$ [6 h. [5 e! y" N

2 O' K# Q# p1 r8 V8 ^

' m0 {) ?( y# x1 b: s" y- j/ b) ]* r5 I2 g' y

# J/ X2 F3 x8 o: H

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-3-29 22:23 , Processed in 0.073279 second(s), 17 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵