52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx9 c! f8 i  L  _2 ]% {
yum install nginx
5 I7 ^. A  ]3 I; U+ }..........
! p* m. s, M% Q7 GRunning Transaction4 l! `1 J9 E( w
  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
( q* f" z, G" ]$ v6 q  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
( y1 x7 u- v8 N  z  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3
( `. K9 H; s6 A# ?' ~6 X  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3- w1 G- p# x3 D
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
0 S8 ~  ^2 G8 P4 v  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
! P6 m* O0 o* ~/ p3 O( u6 n  u/ R. O) G9 {
Installed:
+ x% X7 z, H( G- Y" Y7 i7 ~) m  nginx.x86_64 0:1.0.15-11.el6
: t, ~' Q$ C+ w6 e. F4 mDependency Installed:& m6 {5 k& ]  h/ l! }3 H# L
  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
  C- x  q+ x# k3 O) s% CComplete!
& o; i1 j- N! D+ r5 q' N% J! r$ S9 U% S% e9 U. w6 |7 F
閮剖/etc/nginx/nginx.conf

! D0 M+ O% |9 r8 s$ c4 g4 F2 s2 M$ D0 B. g
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html9 D* ^- [% a# l" A( m
閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
" b3 e6 t0 f" i7 W% @7 P4 D: X3 w/ q# e- n
php-fpm service php-fpm start
( ^, n4 n' W' @- Y- u& cnginx      
service nginx start$ p/ J1 _2 g' M0 E7 H5 N
6 B: }& |3 F$ |
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

3 z/ _; o3 K0 f! ~閫瘙
/ j6 P( P" z1 n6 U) L2 J餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
, [4 \& B$ v) S銝甈∪nginx
service nginx start
$ I1 F* D4 v# H0 p4 q& Y+ v
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46% u' ~% L6 V, e. E6 R3 d
亦nginx configure /usr/sbin/nginx -V- h' X7 {0 z' _/ ~' _9 E" b) K
nginx version: nginx/1.0.153 J5 B& G# F2 z# n! z
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)4 q: |( s/ V+ J0 R* j! X
TLS SNI support enabled

) W; j: F* j# I' O) _) mconfigure 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
' k6 s& }- t! d- ?6 S7 Y2 R
' j3 p* a: c( \+ C2 E
& v3 u# w3 e( ^% P$ a+ d
nginx       service nginx start   
0 D- P3 b5 T- @9 B0 B( y) Uerror :   V# Q. L8 z% j$ z6 y
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40( J7 Y$ _* v% R, y" l4 j3 c0 b
nginx: configuration file /etc/nginx/nginx.conf test failed/ t4 Q$ L. g/ L- f5 _0 C
閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭* H: q+ ~! k/ o/ d7 o1 V9 \
SELINUX =  enforcing    寞   disabled
( Z# c( Q0 p3 x& \4 K
# d8 s+ E- S7 D2 m- S9 P/ Z
6 i0 G! a. T1 B. Q
; R. {: X2 T: H7 W, J  K. a& ^

& H/ A6 f) W+ @/ Q/ B6 Y

雿輻券

祉蝛閬

撠蝝詨

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

QQ|撠暺撅||52AV璈A

GMT+8, 2025-12-6 02:09 , Processed in 0.064432 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵