52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx* K5 v% {9 D) ^5 R' N+ D9 \$ Z
yum install nginx/ J2 q+ [, F: d2 I, v
..........1 q+ `! e9 r6 m& b% N
Running Transaction
( b3 t& Z$ N3 D- P- N  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/37 p# _/ l: _. r, o% _
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
5 @4 l# {* S" f' g  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3
% B- O1 F* C& D" j; u6 b  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/35 T, V* i7 J! O7 ?  K8 ?+ c
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
% q  W" p9 ^+ a+ |( }  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3; Q( W! d  {7 `, }! z$ J" t
$ f7 x" H, s5 y3 e: K0 E3 Q$ [: v; P
Installed:. b8 {$ l* ^! ?( n% y0 n, H
  nginx.x86_64 0:1.0.15-11.el6$ c: L  _6 X/ u/ U6 x
Dependency Installed:3 L9 G$ j$ b2 x" \
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
+ d! f% K! d  k$ uComplete!% E$ f) p. X' f: C
. Z* \9 N+ F; G% E2 P; C0 ^
閮剖/etc/nginx/nginx.conf
/ Y, x* @) E( K2 C7 |
, \% {" ?: L8 E" ?8 G! `$ Q
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
, _3 p" f3 j* ^# @- Q% u7 f閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
6 h' G1 r$ k% L- s' k4 B+ P
: Y, d; f3 `/ _! f
php-fpm service php-fpm start+ S% m8 _$ l2 ^9 ~
nginx      
service nginx start
" S- ~* ~$ u* M  M/ a# B* C
. t/ ?( E  Z+ V; ]0 Q+ T+ F$ b
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
+ _9 y* P" H) b, ^/ y% ~
閫瘙
) U9 M0 _/ {+ @0 H- e, W餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
8 F! K3 k+ c( [- F1 W. {銝甈∪nginx
service nginx start
, u6 x  r( Y! l/ ?8 ~: G
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46( l2 w5 ~/ x" C! K' F2 P6 u2 s
亦nginx configure /usr/sbin/nginx -V
, }: B" |7 {. r1 o+ h7 ynginx version: nginx/1.0.15+ P2 C) ^  W# Q0 y: B) d
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)3 d1 c+ w7 N9 o! m) C9 U) \2 [
TLS SNI support enabled

, `" `! U) |) B3 P9 H% Nconfigure 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
5 u& n, W; @2 k/ {9 }

& p7 z: A3 V* [
: v3 N* V# u& i
nginx       service nginx start   9 U; b  D& s$ g0 ~
error :
" t1 L3 u3 |) I' A3 X1 Dnginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40' ]1 [% q4 w$ i
nginx: configuration file /etc/nginx/nginx.conf test failed
$ H" v  E$ K( F閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭" k% I9 s* q( d, X% R
SELINUX =  enforcing    寞   disabled 3 h2 X- S3 o/ g2 P9 r
* n% Y, t6 I4 \

6 r! h' a4 l0 M; n/ b9 U5 [5 G# q3 t

# j" m( G" C( d) m

雿輻券

祉蝛閬

撠蝝詨

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

QQ|撠暺撅||52AV璈A

GMT+8, 2025-12-6 04:11 , Processed in 0.069474 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵