52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx$ P1 x- O# j4 y
yum install nginx# ?. l% p5 A! H6 {1 q
..........) d5 E" J/ R# u& F% B; k2 f$ \
Running Transaction
4 ?: i. V2 N3 A7 g2 A2 j  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3, e" r, F8 H* Y, e% L' i: W
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3( H# S$ B8 U- Y6 B  Y# T7 J  t3 O$ d
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3$ O. Z( z6 p& @
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3
. v6 T( C. E/ q) r5 Q6 z4 j: z  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3* S1 F$ ?6 [( Q: q
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
! f0 ?& P5 q" J3 \5 D- J2 l. V: r# A) B: F
Installed:9 W. E* r9 D; z" S# q/ `) Z
  nginx.x86_64 0:1.0.15-11.el6
3 ?/ m2 p# s5 H) FDependency Installed:
8 ^8 {' `& L1 B& V7 b5 K$ c  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
5 A4 w$ z  s( ^' D: H4 mComplete!
4 v& v) G) u6 t" f1 }) T# r# C8 k7 |5 I! y
閮剖/etc/nginx/nginx.conf
2 t9 J3 i) S8 R) [! t
3 Q% u' R! F& _. N6 ^4 {9 R
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
, ^# r2 k6 w. _5 n) f9 @閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
( Y8 m5 Y: }8 U# E( k" @7 @8 w" c. C  _: N& {, ~. g% F( X
php-fpm service php-fpm start; M+ v# t5 e$ I, G2 U
nginx      
service nginx start( _* t3 H5 s% }9 J/ {; @" i# U

( g6 Z/ s! c: c箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
2 D; k+ O; x: k8 D# G) l
閫瘙
- M( w; |7 \" T; p餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64# N2 N5 m. w; w' p" u0 ]1 F
銝甈∪nginx
service nginx start
; C7 y5 {! Q6 E* c3 K7 h2 C: ~3 k
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46, N' Q8 L) V) J; ~8 w/ U
亦nginx configure /usr/sbin/nginx -V& ]; W, r2 z7 ^. f1 ]% G9 I
nginx version: nginx/1.0.159 B' Q4 a# @0 @# Q3 D% O* o4 b) B& C
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)8 F3 E# \2 g1 f, k6 ~& [
TLS SNI support enabled
6 A6 W8 D$ f* T& {3 T4 }! w
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. u. ^) E  W% o+ d7 W9 J& A. b
5 z! g7 r$ E7 r. Z3 G

) ]- n/ ^. A9 P% g9 Wnginx       service nginx start   ; A( c" v& e9 I6 \7 X0 j$ a7 O
error : - B3 i: E6 W* @" N% ?
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40
" _( |3 ?; |5 `4 O3 lnginx: configuration file /etc/nginx/nginx.conf test failed
( g. g( v- c! x; L, b閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
8 p; ?- Z7 J  t) ASELINUX =  enforcing    寞   disabled 2 w, x. X- }5 p$ O. \
' ]7 D" T5 k4 j6 x  ^2 r7 c
' d6 o, O# C* w  X( g* i

0 V6 y) R4 t+ G/ c* d& q. l( U+ v7 h3 R6 X6 p% {" a) j6 V- @$ o

雿輻券

祉蝛閬

BT蝳

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

QQ|撠暺撅||52AV璈A

GMT+8, 2024-11-28 06:16 , Processed in 0.071836 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵