52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |甇摨閬 |梯璅∪
1摰鋆nginx2 h* F' L, Q) v7 H: X% S7 Q
yum install nginx- X4 l2 m/ _1 h( g3 r# J
..........
2 E2 h, M8 u- E' ^- a6 fRunning Transaction, O* ^8 E# r' S+ q/ I% `, `
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/36 R$ Y8 w) ~  f6 _8 L
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
9 f( c3 \0 L9 L, O4 p$ n& l  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3( ~( d! j, R) t3 z, A/ y$ a! {
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3
! A% y6 \+ c& g$ G  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
" Q  }& H% Z5 ]  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
1 g& Z9 e' `) U+ q6 |/ @0 L
6 U3 r' n, O- _4 }3 G( A6 J5 eInstalled:) d9 s. V/ r3 a3 @/ m/ b( d& p
  nginx.x86_64 0:1.0.15-11.el6
" G0 U, o8 g( w4 s. fDependency Installed:7 u! x/ W9 x: F- q. r& C
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
* l, D% v8 O- G; t% _Complete!
% T' t3 X( K6 S0 v9 T1 F/ t6 M  k- h4 @" q/ N2 o
閮剖/etc/nginx/nginx.conf
. l# T6 n! o+ ]) H9 O% N$ ~9 |

% M, [  b+ H1 G  A. e3 N
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html! B  ?+ P0 _$ X5 O( o6 q- j
閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error/ \4 }6 _' F) _' i' I5 Z% a9 i
! n$ i* T2 C6 F" i  x! u
php-fpm service php-fpm start
, b/ C% Y0 f; t; s: ynginx      
service nginx start& ?& [9 U) N% L+ g( ~+ R4 x0 h
+ ~$ b% x/ ?' K1 K
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

3 n8 U, r) E' V9 v閫瘙7 E# O1 ?  w% S% |
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib649 v# W/ G$ q8 m7 T# U
銝甈∪nginx
service nginx start
7 w+ u9 T1 A/ w5 V- Q4 h
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46& x9 ~' `4 D$ w$ {) S; [
亦nginx configure /usr/sbin/nginx -V
! i+ j! p, i* x6 x6 n1 znginx version: nginx/1.0.15
6 v7 Z+ V8 t$ x( W1 R' Z5 ^, c7 wbuilt by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
4 D9 O2 _% Z+ g' a5 S6 uTLS SNI support enabled
# C! u- C. [4 P! v- j* P
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
# u3 G# p1 k3 h: a0 F% p

  D! \$ N( O! g' T. Y6 ?

" r% z" }" r; x2 i0 s& l  Anginx       service nginx start   % n' I0 l, D. F) \# ?; l7 K
error : 2 Y+ ^, z4 M) y0 F3 ]5 [% @, V
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40
5 }0 X% @( {, ?" Knginx: configuration file /etc/nginx/nginx.conf test failed8 T* T7 B" O* t- r: g6 {; j0 D
閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭+ D3 y( @7 ], R5 v3 {, [- _
SELINUX =  enforcing    寞   disabled
" Q: V3 A; J4 K5 _! v* K7 a$ s* Z
! |5 n+ g4 U" x' j$ m4 e
0 @3 y. ?; v+ {7 a& I5 c* x
. p$ _1 `8 i  R/ w) S6 V4 t

8 i# \8 S: R4 t. d

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-2-9 20:04 , Processed in 0.064001 second(s), 17 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵