52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx3 B/ _! u- ^; x' H+ ^: }3 ?; ~
yum install nginx
1 u: C5 I5 |' A1 w/ X$ a0 P..........
, E) E# b" x1 p& R# F3 kRunning Transaction% o+ ?$ D4 F! r* R3 M- ?7 y) P
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3& I5 Z! p' s) u, q3 D9 R4 z4 H
  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3( c. c8 x9 G% n! W
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3
; k% u0 H7 ?7 @  y  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3
0 F9 Z' D1 c6 C# ]  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
' a$ H, D1 {" `2 y  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3" r' {6 i; c! I; g% b
; c/ K% R. t' [6 \1 [- f1 n
Installed:: ?8 H- L0 s, j. F2 \6 A
  nginx.x86_64 0:1.0.15-11.el60 ?+ k1 S0 p9 b1 v! v
Dependency Installed:& i3 c, d( i) `5 ~2 a
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el66 V' a" Z0 V6 O+ j& g8 }
Complete!* \/ }# M4 U7 n: e. i
8 r6 L6 z. c5 g: G( V
閮剖/etc/nginx/nginx.conf
# m1 R, {# G3 G* [

3 [7 [7 V4 O$ {4 {8 B
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html  D9 ]3 e% H8 M
閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
- ?# B' G* N$ M& n& k! g
4 \3 J! u' {4 Z8 Y. a
php-fpm service php-fpm start! }  u: |; P: ^
nginx      
service nginx start! e9 ?( B- A+ L) }/ a3 |
$ G, o1 Q, C% Y( d4 D0 V+ G
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
/ {5 D3 Y/ p8 \; M' U
閫瘙' w7 S, p' s, k1 i3 M, G7 x6 x
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
2 Q, G) x# C0 J+ F% W# ^# @銝甈∪nginx
service nginx start) T2 [5 N! x2 G6 C
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:465 k. i& z# U; b# k6 F
亦nginx configure /usr/sbin/nginx -V
/ D$ f2 A) b1 Pnginx version: nginx/1.0.151 ]8 R9 J3 O' j/ q, w/ H! _1 g7 ^$ d
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)0 \, [# a8 f/ s) e6 b. z( B
TLS SNI support enabled
* @3 ~6 a4 h- P: g( q' T" \
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' R/ t$ G" t! r/ v; H

$ c% Z0 S3 U, z+ r* Q* p( y

8 ~+ k. d# [/ C" E3 F# s- V$ ]nginx       service nginx start   ( `, w5 E- Z  s# b7 V) u) z' E! k
error : 7 H7 c2 k5 h& T% {
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40
5 H* C' |; q: {5 D# \9 H% B  a! mnginx: configuration file /etc/nginx/nginx.conf test failed
- X) f: C* L# a$ n* K3 ~, Y; K. e閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭0 C) a* m, S4 Q8 [+ w* O
SELINUX =  enforcing    寞   disabled : G# t8 X  V7 J
" k5 b0 i6 O6 `! w

* {- D+ w+ A4 p, U/ a! U+ E$ M4 O& J3 b: `2 r+ r) ~. o. W! t* J

  n* c8 G$ }! c! ~3 L

雿輻券

祉蝛閬

撠蝝詨

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

QQ|撠暺撅||52AV璈A

GMT+8, 2025-12-6 01:10 , Processed in 0.063475 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵