52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx
5 M4 C# b# L  M) z( Q  G( A yum install nginx
  {3 R: h& m/ H: w  h- }..........
, S1 F3 v2 J5 d" c! gRunning Transaction
; {2 P3 p9 U' j4 B" u; E  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3- Z. a8 H9 g7 {' l* g( X- g" \/ y5 s
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/34 ^( R6 ]# X" A# _! n
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3" q/ A& q  u) V4 U. e& ~: N7 X) j
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3% z$ _; }0 S& E5 p9 H3 Z3 G4 w* P) {
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
- F0 q9 A! a7 ], N/ e- F- w  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3- a, Z$ l0 Z6 y

: s+ q3 y5 G, k) rInstalled:9 x, u1 y% T1 `0 T2 l, T3 |; e0 k
  nginx.x86_64 0:1.0.15-11.el6  |$ t  u% \# y! p# \+ s" g7 [
Dependency Installed:6 @/ K" A6 ]1 E
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
# {2 ~# H) {, w6 z! U8 E, R: UComplete!
9 `8 |% M1 v# j% G7 e) _' X# b6 b3 g7 A4 Z5 I) I# X
閮剖/etc/nginx/nginx.conf
. u6 K0 Y' _- Y

6 m) B' l8 Q7 s: D( |) K5 N, _
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
- p: E3 S( |3 e4 v/ b8 f閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error6 i/ m% v( f7 e' c  t, Z9 J
8 c% {7 K. R: b; ]6 c" Y
php-fpm service php-fpm start
8 i  a8 X+ s8 h" K6 F5 `( Inginx      
service nginx start* A; s( u4 ?" b' U- o" E
; d1 _/ P- n& j1 d  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 C! l- T$ o8 A4 t! I
閫瘙, `; x9 Y/ c0 j
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
" Q& H1 A& f1 n/ S! i銝甈∪nginx
service nginx start
& K" c3 N3 {2 e1 `
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
. H% q( C- v3 F' j# }5 x5 L亦nginx configure /usr/sbin/nginx -V0 e0 t# a' K) x& Q) ~$ _9 D! ]# G
nginx version: nginx/1.0.15
- l7 D- {$ g( {/ z( kbuilt by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)6 m  v3 ?+ v* X' j
TLS SNI support enabled

: D% j2 Y! {* f1 I+ ~( yconfigure 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,-E9 t2 A+ O( Q$ k1 r( n$ X/ O
% V0 M" ^" P. a9 g/ t2 X! R) [5 o

5 _9 e( U1 f7 @( S8 Enginx       service nginx start   
6 ]  T1 @2 S  t1 Y; O9 verror :
& }! O9 M8 c& A* `# Y4 Qnginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40
$ e6 t, _* ]9 ?! f5 inginx: configuration file /etc/nginx/nginx.conf test failed) c7 L, w' ]/ G, C4 x2 I
閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭+ I- F7 f. v; H, e# v, B/ j  r# s
SELINUX =  enforcing    寞   disabled / i# K2 ^2 z8 S" T, n! B

# w5 S1 a; J& k' b  w

5 A+ N  _, Y8 m9 e$ h/ h8 Q7 Z7 F! M/ K/ a6 e

3 G' O5 p2 u  v

雿輻券

祉蝛閬

撠蝝詨

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

QQ|撠暺撅||52AV璈A

GMT+8, 2025-10-21 23:33 , Processed in 0.058863 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵