52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx
2 o* `5 h  b: w( J& P. c, P5 C yum install nginx7 q, _% ?& m" R  p0 D
..........
1 T+ h- J2 W! t1 S+ c6 a9 _Running Transaction9 Q7 ]& s' J9 Y+ X6 |7 u/ m
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
9 a* c5 X/ _% K; i  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3; ^3 H/ B+ o) d5 n6 k- q
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3
8 Q1 i! \0 C! O* w' _# c: w  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3( s! O0 v0 a' j( P* D2 ?3 j/ b4 S
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
; d4 Q* e) }3 s! I  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
2 b* e; a& w. ]$ c" z8 _5 Z2 N9 ?0 Q/ M4 h& o% D0 }% o
Installed:
, L/ E/ W* c/ O' F! X  R" {, U  nginx.x86_64 0:1.0.15-11.el62 k3 p8 Z) L  Z( V2 y
Dependency Installed:& h* x  ^! t1 z( E2 d
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
6 S" {8 ?, w2 Q( NComplete!
: \6 F1 |& ?6 v- o' u9 ~. e3 U) V& K( r3 v5 K! w  Z
閮剖/etc/nginx/nginx.conf
' l" T" N# b* R! L; ~

1 x9 T' X  e4 ]  x" L
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
# ^( P! V6 O. M) t1 m閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
' z, Q- f6 V! F" }8 E$ u! J  a6 g1 T; B6 f" C: r
php-fpm service php-fpm start
5 R& B, N* u7 x0 A8 ?9 f7 {9 R0 snginx      
service nginx start
" v( Q+ E/ k6 D6 V1 G
  D: T) G  X9 N  L
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

0 C5 S8 Y4 ~' u3 O; S閫瘙- t( p. w+ |% p& V2 q$ s
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64, d+ {1 b9 I/ h. A1 s
銝甈∪nginx
service nginx start) y8 {3 n1 w# y. _$ j# s' s
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46. d( w& l4 R. ?7 l; `+ {
亦nginx configure /usr/sbin/nginx -V
  C! N+ I' O, |# fnginx version: nginx/1.0.15
% D' C* s6 C: l  p2 A' V$ f4 dbuilt by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)' Y8 M1 q0 k3 i$ S5 a
TLS SNI support enabled
; E) X* E8 y5 ?5 a" {( r9 [
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
, ^, B( R7 |) Z1 W

0 _4 F5 o+ Y/ Z7 q" s2 ]0 m
5 v, n% I; @2 u, N$ h
nginx       service nginx start   
+ l! N  E, `9 s0 W1 k- werror : 3 \% p" u8 D6 ~/ Q/ @5 ^. n
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40- d5 l9 C! w( L& J  B; a
nginx: configuration file /etc/nginx/nginx.conf test failed
, t5 @: Y5 z1 f8 w3 u3 z閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
" R4 ?5 J' K$ I& sSELINUX =  enforcing    寞   disabled ( y4 M8 R1 _. j/ B2 z

3 V  ^% z% S: a: g$ R. i

2 K- j, s5 C3 ~  G8 J  @
+ N2 O6 k! J! s/ F! b! {8 `* M/ a0 g6 L8 ]" d6 g

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-1-29 17:07 , Processed in 0.060855 second(s), 16 queries .

蝯∠.撱

[email protected] | QQ:2405733034     since 2015-01

鋆貉憒 敹恍敺 餈銵