52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx
/ Z* |: c% ^: i; p yum install nginx. j0 B1 K$ h3 u# m, n
..........
5 a+ @8 G* K: ?Running Transaction4 v4 k# Q$ p' A5 p
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3  V( L2 C# E' }# o' L
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/36 i+ R* L0 o" O% s
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3" ^+ t0 b, f& o$ D5 i5 ~" v2 H
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3; r: w8 J# h9 ]# T/ h
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3' Q0 u6 n4 J: j' R: ^8 Z
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
3 {+ _( u4 g8 W' F: \" J4 o' n" ]" D+ Z% F
Installed:' {3 d0 O. ^0 W& U+ Y4 a$ K
  nginx.x86_64 0:1.0.15-11.el6/ A1 T# v8 t0 |9 r
Dependency Installed:0 A7 S8 {+ J/ j7 J5 P6 _2 W
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
' u3 X! [3 i( r& zComplete!
# l9 w2 S: ?- C1 Y' W, r: |) Z
1 F# L. k* b) u. @$ C閮剖/etc/nginx/nginx.conf

8 I  x# Y7 h$ Q! z1 [" Q
: Y' J. J4 |$ ^& |1 Y
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
( j1 y* R1 \( n  q閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
- o% U; s% k1 G. @" K
0 d* ^& O7 y6 R4 y4 M
php-fpm service php-fpm start
9 k, _% ~# }% s* d4 jnginx      
service nginx start
: L# i, t, t+ [( M( h9 b1 P
) j* K* k7 S7 u7 {
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
  P& m: X4 |3 @% j2 @. R
閫瘙
2 b0 K- T" v0 y( L& E2 Q餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
5 w2 z6 }+ n; h$ F4 Y2 A銝甈∪nginx
service nginx start& p, ~- i4 s4 q, k8 b
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
& F: L5 i5 z, t2 k/ ^/ [& C  n亦nginx configure /usr/sbin/nginx -V9 Q5 V1 @% @7 q) ^6 ^  z1 D6 e! N
nginx version: nginx/1.0.15
. x8 q! d  x) \0 abuilt by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)7 F+ o& h% V/ g$ ^3 Q' f
TLS SNI support enabled
4 I4 u/ c: f0 b0 K
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,-E3 Y7 T% M3 T" B" P0 E
# ^, [9 ]$ E5 t5 k+ R# ?
* D& t1 ~7 j& {- p' P; Y, G  o) Q
nginx       service nginx start   5 g7 i* w1 g9 Z) Y8 S
error : / u3 o4 Z  j% a6 w" t/ J
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:401 H1 s( B* V- a+ j, C" U
nginx: configuration file /etc/nginx/nginx.conf test failed' s/ ^- m) y" V/ P$ Q2 W6 ?
閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
3 k! N, _, ^" F  kSELINUX =  enforcing    寞   disabled & ~- C+ C. P* P- E4 p9 h. T

" U+ G  {# o# U: k" g5 X
0 E# L2 A% Z1 m5 E  Q0 E* v  v/ @
+ e% Y. [' L7 B0 X
3 X7 ~) v8 h; U

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-3-28 21:07 , Processed in 0.077718 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵