52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx5 `: Y$ S9 u7 x- [- b
yum install nginx
( [4 \  T* y) L  w" ~( g8 Q..........! X' |0 p/ x. p& P# M& x0 M
Running Transaction
5 t9 p$ g% O. T/ S- a  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
7 O* s( T+ i# \: @# @  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3
$ C' N7 c5 R" O) `  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3, l8 P" ]3 j8 w5 h+ G& x
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/3# }) g0 J9 K! E% @/ X
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3: S! T9 ]% |9 H+ e' |% V
  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
  m: _- J' ]$ g. V& e& d3 u7 X7 ^
5 |8 x% w* r+ w: _6 ]3 J& }* r9 T# h( IInstalled:
' A  n8 A2 t; M7 Q# q) [  nginx.x86_64 0:1.0.15-11.el6
  s+ `+ ?2 `, ^  l5 U+ ]- }" I+ }Dependency Installed:
6 J; o9 u. y: _% Q1 X2 r" X7 U  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6
; z& \- b; [# l$ ]: W* m0 MComplete!+ U( I5 y0 U# p& F; l/ x! b/ F& G: \+ ]
/ M% O0 K4 F2 W( k6 m6 u
閮剖/etc/nginx/nginx.conf

4 z: H4 g6 v! c$ Q8 d1 ^/ L: L
; e9 |# G9 r3 h# t4 L0 c/ I
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html) {4 m  \9 C8 L( g$ s2 S5 D8 L
閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error
% @3 a4 a$ R+ @- a% \1 l) M- T9 ]
php-fpm service php-fpm start# c" s) A+ K  E1 Q, C1 {+ F+ R( ]
nginx      
service nginx start
( F0 S, s& o5 I2 A0 o# e

7 N# w/ Q. i0 v" ]箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
) O7 H& i- x6 Y
閫瘙  |! T3 j& H+ X9 \
餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
: f8 E  K+ w5 p5 y銝甈∪nginx
service nginx start5 q( I8 |7 G" k  e1 Y
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46  ^: A0 c, m9 X9 ^* o1 y  X
亦nginx configure /usr/sbin/nginx -V6 @6 T6 E) q& O# q8 G3 d+ g1 X
nginx version: nginx/1.0.159 ~8 S3 R' c" C4 S+ L7 N
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
, G: [- z" O5 K0 o+ Z# KTLS SNI support enabled
: [, U: S; D! l! L
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' F4 q5 y8 a0 P, R" g' R
2 d! x- g3 f; G5 G
5 T+ Y2 [% L9 }( J$ Y; @
nginx       service nginx start   
0 F3 }0 n  h/ Y% @error :
9 K4 j- b4 p: M: Q" E; knginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:404 _! r& H8 m9 O) A6 \3 F" a/ r
nginx: configuration file /etc/nginx/nginx.conf test failed
) A* j+ w1 D- t% z( Z7 f" P閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭; [, m9 F9 A0 r+ _; L
SELINUX =  enforcing    寞   disabled 2 \5 e1 n( m( _( N& V- w. K: X

0 h; M: E* J( |" e* h3 h' Y' Q

8 P- Y* b; f9 U% e* a, [9 C* ^8 a8 r
: K7 Y' V1 @, S  N

雿輻券

祉蝛閬

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

QQ|撠暺撅||52AV璈A

GMT+8, 2026-3-20 17:48 , Processed in 0.065584 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵