52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx7 H! H2 v( y- u! @/ L- n: [3 G& q4 N
yum install nginx( X( l; s8 J: r' J8 H
..........5 v0 g. ]; H$ U0 j- W
Running Transaction
/ u2 t1 J6 I; M8 v) u4 e  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3' }2 }3 t* D' X. ?0 C& T" b
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
- s% _5 t, d* |8 \* ]% G% h% ?  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3) D5 g2 Q$ I5 B& O7 B
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3
/ H& Y1 E9 N) u3 Q  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/31 F0 q- p# V" {" b6 h$ {
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3% W& u# ^( c; {5 T/ x

9 `: Y3 q4 O9 T4 h, ]- C  [Installed:
1 {8 }9 `" t$ I, ~  nginx.x86_64 0:1.0.15-11.el68 O  j3 a  c; G( N$ b6 x' g/ g
Dependency Installed:
% [% ^! Q" z0 j$ n3 s1 ]  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
8 m0 ]5 y/ K) U# LComplete!
- h  g' x% F; e, V+ F% L! y/ x  t8 t
閮剖/etc/nginx/nginx.conf

8 v: Y2 t. l8 A. i9 E( V
# Q/ f! a' t& G! _' z
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
6 o7 K  M, W) ~8 b+ t/ N3 W閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error2 Q0 ^6 o8 a% ~8 _& r& ^
7 b3 h4 r: i8 h% d' r; T1 k$ ^# Q
php-fpm service php-fpm start
" u/ S2 ]1 j+ X# J% e2 knginx      
service nginx start
; q4 a" {" }* O9 W; Z4 O

' F* ]- }2 B  w箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

6 B6 |; K) ~, n' t; f閫瘙
  N6 F; ?7 j+ v8 m6 m餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64/ K6 U* T! V/ Z3 {* E
銝甈∪nginx
service nginx start
$ J: F" [, ]& Q% y  s. r
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
& G: u  J) S; m, l; f+ o亦nginx configure /usr/sbin/nginx -V
+ |) `& l# S1 |! znginx version: nginx/1.0.15
7 j  K# a: @+ x" k+ C1 k+ R# fbuilt by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
$ ]+ q; \3 a3 ZTLS SNI support enabled

& @7 B: v; w, j! i& `/ Tconfigure 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$ [4 f/ c' G% {% A; F2 Y
1 E) s" w. u8 U1 m: I7 N+ ?+ [

# k! m4 `' @+ W: h1 r- a0 Z# Enginx       service nginx start   . {3 @& ]" F/ S! s" r& a
error :
1 I7 L+ h! [( a/ T! z. e) K" Onginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:404 \  |: @' w5 f4 Z* y
nginx: configuration file /etc/nginx/nginx.conf test failed
$ z* W5 l/ r/ p6 z閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭- t, g: l; M; |" d' Q8 `" E+ ~/ W8 S( y
SELINUX =  enforcing    寞   disabled / D% O7 M. q4 v; E4 s( Y0 ?: D
! f6 f% M. i3 e# T

, j* |7 q* Q0 _' ~. I
0 g3 L+ [5 g8 [2 V1 A# E
" s% j' q) h2 U5 z

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-3-29 20:45 , Processed in 0.062151 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵