52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx% m3 K5 u6 H4 F4 }5 K/ C, H* l" h
yum install nginx5 ]" X( K  }: A$ @
..........
" R3 x% I7 R& q& I5 @Running Transaction7 O3 w( |& w; K' s( L, z: _% `# ^
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
: z$ W$ C8 o) g! L9 ]5 h- P1 V  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
6 p! ]' t. a( N  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3
1 }: O/ r- S& n: t; |  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/34 y- \( F6 s2 y% R9 e/ j
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3' c4 K$ H3 p5 ^- V
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
6 r/ o7 H( o1 P' z- o6 q  h( _9 [% }$ [2 j8 S9 m1 v. @9 C7 d, G
Installed:
' |& ]0 A* Q- Y) V& R8 v' x  nginx.x86_64 0:1.0.15-11.el6
6 w* f0 a, d# Z- }- ]* |2 \) L  a( ZDependency Installed:
: z* W4 [* S8 U7 Y/ ?6 @6 I  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6' D! |3 z7 \4 p0 }; \1 A
Complete!
* F; `7 F) ~& M+ j- C
- k0 i! ]/ }0 ^  w7 e6 }閮剖/etc/nginx/nginx.conf
& |3 A. @0 p. _5 C) S

2 X- I3 w; F- e/ ^  `
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
. V$ b% S' K/ z$ n  f  J閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error; N% h4 R  f: R% J

' [9 e+ N7 |) K* e0 T" b3 N
php-fpm service php-fpm start
4 _) d0 z, t$ F9 m* B2 wnginx      
service nginx start% _1 b6 r  Q. L5 R
# I) o4 \) _- a( n" r8 Q
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
  A) t$ h8 V% S, {
閫瘙( Y9 I( D8 A2 s! z
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64) z- G1 [. {, i" o1 |
銝甈∪nginx
service nginx start* C. H3 E- G" V! _" I3 a
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
( L! @" _7 d5 j$ b  o* k亦nginx configure /usr/sbin/nginx -V! @* i% V% ^/ T+ u$ ~
nginx version: nginx/1.0.15
+ e' s; k6 |4 t6 obuilt by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)* Z: m# N3 X4 W6 o) a8 n
TLS SNI support enabled

# u# X/ J+ X' K* {* e# Z$ gconfigure 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,-E9 |+ u# ]; [$ B  H) t
! i" s, K4 @# K, M" c4 D4 H8 L2 J1 |

# p0 A5 u) E7 N( B' V( bnginx       service nginx start   + v) |* W2 D% F& p. T/ o% c% `
error :
0 w3 S* ?/ A1 }& y7 _& h6 ?* snginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40
- B! j( _2 S3 `" q7 s3 z, Hnginx: configuration file /etc/nginx/nginx.conf test failed
5 T9 ~* V8 A* \8 p; u閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭* `+ l9 s( g) z! |) {. E
SELINUX =  enforcing    寞   disabled 3 X1 H# _% r9 o4 M- s5 i; _7 }
* `+ }$ D/ C+ T" x9 A

* g  V# O3 r' y) @+ g4 g) E  y" O0 Y+ ~7 N. O& p
, D& W8 u$ r7 c7 k3 C# ~3 `3 }

雿輻券

祉蝛閬

BT蝳

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

QQ|撠暺撅||52AV璈A

GMT+8, 2024-12-26 15:49 , Processed in 0.076476 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵