52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx, E1 M4 H5 |* W' l; [
yum install nginx
6 r  \( Q% Y9 h..........- ~% W1 n, [* ?7 A) {; h% N
Running Transaction1 j8 Q$ E3 u0 z8 Q* C
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
1 T0 J- r' P# j8 c7 [) n  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3. v" ?: z, h9 Z  A4 a( u- i
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3/ h; D6 h( R& t( S+ W
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/38 b: k. [/ F/ v7 Z2 ]- D& p3 D
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
( o1 H- x' E0 b; E3 f  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
& e' a9 w# Q- J7 Y" Q! g% b6 L7 v% W* ~6 X! N
Installed:
# {( ?* ^- Q% _$ c7 f) n) }; j# K% [  nginx.x86_64 0:1.0.15-11.el6
; K* ?% W& S* a  d* YDependency Installed:$ K" z; G4 D9 ]: g9 A1 w2 {
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el66 F5 U) {- q1 k  M
Complete!/ ]; c8 b( z' `8 Q
6 c& H9 D7 S: d% t$ W* S7 U
閮剖/etc/nginx/nginx.conf
. B  E) ], Q0 ?. H& ]

% r+ }6 N, O% {8 `" v
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html* `& [/ w: D* x& i; A8 [, ^
閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
" T! A0 g$ X$ Z. y% O3 x1 I" ^1 c. d  e/ z6 w& M) `
php-fpm service php-fpm start3 u( o0 }1 B; @& X+ \: C& n4 G$ _
nginx      
service nginx start
. b$ ^: Z# w- o, z- s9 p2 z

& q* k5 H* V/ x& D+ y箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

) N/ M& }6 H+ J& S0 j$ Y& a9 r' l, W閫瘙9 Z% W1 Z6 e0 x; c% f, E1 U: _9 q
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
- @+ ^0 E! d. a) j( H7 p銝甈∪nginx
service nginx start
  Q, G3 ~) @4 N: q; l9 v
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46( E" d: [/ i2 G( n) D1 e0 F! t
亦nginx configure /usr/sbin/nginx -V
$ l- x: K4 Z$ ^; Tnginx version: nginx/1.0.15
9 M, u+ ]8 p3 B2 z6 J* m8 `- tbuilt by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
  j2 ^; x2 M! q3 B0 n1 ^' N  STLS SNI support enabled

. E6 ~+ F9 U; v9 s) }+ Tconfigure 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
9 {4 o6 B. `) i  Z

% [: ^2 [) W/ J" l
5 n" u+ v9 X! F$ a% @) q8 u
nginx       service nginx start   
1 f5 M1 E% @6 {7 s7 herror :
: S- |$ K% R# V5 Knginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40
9 \# t& H9 m7 ~- Xnginx: configuration file /etc/nginx/nginx.conf test failed
" E8 d, P6 t6 n9 _5 i& \  a閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
9 P8 G3 M" P2 [0 aSELINUX =  enforcing    寞   disabled
+ y6 }" |% V: q! `  c* X9 x
' e6 h6 v* B8 J! }6 n) ~6 o- ^
' O, |7 e7 u( n) [

! p8 D7 F& ]' v* C4 F+ s7 {9 h- @6 E  ~, T# o. U) y

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-2-9 12:46 , Processed in 0.056351 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵