52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx
6 l* B3 Y8 k5 V- w( E2 w yum install nginx
1 R9 G' x1 i+ a- _..........) ]/ h( F" b5 Q& a; B% B5 Z* V" L
Running Transaction
6 ]6 Q; v; l6 |, z  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
/ _0 h6 y  d+ |2 b% Q* X( t# o( ?  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3# G% ?0 Z, ~2 `' P
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3! @- h6 S1 o& [4 ]4 ~: [
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3
9 g7 \5 U( i: ^8 ^$ ?  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
- w& |1 T0 c! Y# P. P$ b  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3% p6 W" ]" X! T. I

1 l1 e( c3 s' L) }% d2 ~# FInstalled:6 [  r' L+ J6 R, o* o
  nginx.x86_64 0:1.0.15-11.el65 ?) ^! l, U9 e) e  w* o) C" _# b
Dependency Installed:
/ ^: M$ ~& p+ W0 k  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el60 ]5 Y* f- W. t) C- n! C. c
Complete!
5 }* D6 r* |, y  |* Q2 Q& [. M' M" v& x3 G+ y
閮剖/etc/nginx/nginx.conf

) o/ C: |2 q' w, [+ @  k" o$ J+ E( i: i+ J# K
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html
  G4 S! x0 z5 W# F! Q$ A: A9 V# J閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
+ W: _" P* z1 ^6 ~; z8 }- ^+ S+ d4 Y* u2 o) }
php-fpm service php-fpm start
3 \4 y' C0 r2 l6 ?5 t  [nginx      
service nginx start
% S, U* w/ O3 S% c
" C; w' V  D1 Z7 B; {. L
箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

$ x- ^" ~+ Z/ @閫瘙
# }/ q% r" C$ W餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
. ~5 Z0 h# ~( T5 @2 V8 i, `* c" O7 I9 ?銝甈∪nginx
service nginx start
0 Q4 H' n. i4 t
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
, u  x# u# V3 P  K% y3 W. b$ O亦nginx configure /usr/sbin/nginx -V; x6 [8 s; L3 i- q4 [: O
nginx version: nginx/1.0.15
+ m9 t, J0 P( y$ e8 c% Ubuilt by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
5 a- A) o: Z# j: O: A& vTLS SNI support enabled
! f4 p7 E! S% s( b8 p/ E. 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,-E7 L7 [$ c$ e+ ~

. }9 Z" |" m) U" p$ m6 `7 N

3 }" L& ?- A0 Dnginx       service nginx start   ! o0 b. W1 N2 {. g- C) b! p# j# G
error : 7 e& ]1 ]( m' J, E- w% G
nginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:40
5 y+ c1 }! ]: y. G. L: Nnginx: configuration file /etc/nginx/nginx.conf test failed
; u8 `, A* M" t) Y# X閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
( ?/ }" V5 Q9 _6 V# N! aSELINUX =  enforcing    寞   disabled
" r- |4 z4 ^4 \" M

: x: m1 ^5 f& d
0 J% a" [- }1 s

1 q4 M$ `+ ^' V$ a2 @" F( ?4 z/ B$ d. [6 T9 {8 k: E3 ]" o! y

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-3-20 06:57 , Processed in 0.091375 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵