52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx* c* v# x4 Z1 f! A' I
yum install nginx
2 a9 J( {. d, F$ e- w+ u..........
+ z4 n% J% b% `* p" HRunning Transaction
* [: N) Y7 }2 i8 K! ]  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
0 \  C/ D/ T5 z$ J0 ~6 \! I  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
% W* P1 p6 a. p! S3 o: ^$ T0 x  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3
% A/ h+ F& ]1 ~, z  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3
( J! x. q8 m* ^' s2 m4 b3 n  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3( s! \" m/ G9 \: S3 P7 Z
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3& n2 d  `6 O5 N; G( x8 O

' l: }& N% h* G4 r" LInstalled:3 j( f9 h' Y! ]0 q+ E! A( _
  nginx.x86_64 0:1.0.15-11.el6
+ Z5 H! e% f0 @; E. T7 ~  XDependency Installed:
  h* U- K1 R, N( d( y  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6; B% n' u. o4 T6 V$ M/ n
Complete!
$ ]8 o: y3 c' U5 ^( m9 \) j$ `# c6 N+ b3 C% g9 ]7 L$ ?7 v! C
閮剖/etc/nginx/nginx.conf
5 q" o# _  U7 t8 H6 y
% [9 F& \/ n: s+ P! [: ^& a. i
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
" Q. N; K, g5 e% ]" ^) n閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
' G+ }  ^8 ?3 y7 C7 l/ A
: o6 @+ Z7 k. ]8 @
php-fpm service php-fpm start
. k4 N) Y0 L$ v4 g& F! P  j; U; D, t$ anginx      
service nginx start7 D+ t% \  K# [7 `) c8 D' e
0 t& p2 x9 h# r
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
' P9 l+ j' ?3 l% g* \
閫瘙
8 l6 R! z+ R6 M餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib642 G' e  a2 g" k/ ^4 N+ g
銝甈∪nginx
service nginx start7 [1 M8 |+ E7 s  z& K+ }% d
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:465 R' t" i& h4 v' _$ h$ ], B
亦nginx configure /usr/sbin/nginx -V
# L& L3 u2 c. W& s' L1 l5 |nginx version: nginx/1.0.15+ ^% T4 P- P% w. d
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)# c) M( F, Z0 P; r5 Z* L0 N3 N" p) C9 o
TLS SNI support enabled
% {8 ]6 X2 J& q  V
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! [* J& y) e2 o% H+ v/ {' V
* t4 }' W- {# P8 G
) I5 Q' `& O3 y3 }/ A6 t- Y
nginx       service nginx start   8 j5 B0 y6 q) K5 I9 P  P4 X
error :
4 d! E' J3 ?" [* lnginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:401 P" w0 c/ P7 K1 M6 f9 v+ l
nginx: configuration file /etc/nginx/nginx.conf test failed, n9 n0 A9 S( u
閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
0 \+ f. z% R! R1 DSELINUX =  enforcing    寞   disabled
) v6 S/ \) n( ?- ]
; r2 d( ~9 j5 D! W. f- }8 e

9 u0 e, `  e* o' ^1 b  T
0 }6 }! [# b1 a& ^- g8 Z1 J  t
- Q% U# X$ W* F2 K$ k% M

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

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

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵