52AV璈A|52AV.ONE

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

[蝬脤隡箸沘 Nginx + PHP-Fpm

[銴鋆賡包
頝唾唳摰璅撅
璅銝
潸” 2015-1-11 00:18:11 | 芰閰脖 撣 |摨閬 |梯璅∪
1摰鋆nginx: Y% ]% I, C* t0 ?. t7 U! K! Z
yum install nginx, ^" q9 u2 U7 w
..........; m2 E, a* x$ u, E0 Y8 I
Running Transaction
+ W$ m& {$ l5 x2 [2 c  Installing : GeoIP-1.5.1-5.el6.x86_64                                               1/3
0 d6 N# @; L' ^# F) Q$ I  Installing : nginx-filesystem-1.0.15-11.el6.noarch                                  2/3  j1 y" h' _* T
  Installing : nginx-1.0.15-11.el6.x86_64                                             3/3  s" n3 x0 N. C* @( R
  Verifying  : nginx-filesystem-1.0.15-11.el6.noarch                                  1/31 E6 x2 R+ P9 H4 G8 S
  Verifying  : nginx-1.0.15-11.el6.x86_64                                             2/3
' W5 Z/ s4 k- n! y  Verifying  : GeoIP-1.5.1-5.el6.x86_64                                               3/3
  [, @  `5 s$ O/ u0 S; j: ^2 R
- U& Y0 m/ u$ _1 \. r: }& s, p6 nInstalled:5 ~) Y; t  T# u2 T2 d& n
  nginx.x86_64 0:1.0.15-11.el6
1 _0 R  @% z$ M, O, K, w% {Dependency Installed:
! S' p1 B1 V/ g, z  GeoIP.x86_64 0:1.5.1-5.el6            nginx-filesystem.noarch 0:1.0.15-11.el6/ `/ R& ?/ E; z& ^
Complete!# q: ?; j% G6 ]0 m& ?" L& p5 y
/ c# f3 I( d( [& s5 e" d
閮剖/etc/nginx/nginx.conf
- e1 f& D1 ~1 F% v: p* K" x

3 T8 }+ n1 c! |* h- N2 O
2摰鋆php-fpmhttp://www.av4u.info/thread-201-1-1.html$ ]1 ]; k4 ?! L7 i& X
閮剖 /etc/php-fpm.d/www.conf  user and group  = nginx (default  apache)  ==> still error/ u! `3 @+ ?/ W0 s, M* L# X% u2 N; M* x

+ o' c/ k6 n/ ^7 y
php-fpm service php-fpm start8 m& I& r: R& T% r' L& X# _
nginx      
service nginx start; L2 H, ?" `* T7 S; b" M

! {: s# u+ w& a$ |: y0 @) u箇頡rror :nginx嚗/usr/sbin/nginx: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
- F4 G) d, Q0 C4 o" |- t; ?; `
閫瘙
, a! R1 Z7 m7 L- B- Y4 S0 R餘ibgd.so.2 其(locate libgd.so.2*)
蝯/usr/lib64/libgd.backup隞卉p /usr/lib64/libgd.backup/libgd.so.2*  /usr/lib64
: w) {. G3 L1 `& l1 o  L$ X# U銝甈∪nginx
service nginx start
% l9 W/ n2 f$ y/ U. }
nginx: [emerg] unknown directive "upload_progress" in /etc/nginx/nginx.conf:46
5 N" @: s2 X8 o& \' \亦nginx configure /usr/sbin/nginx -V
! E1 w& L4 y; _  n! l+ m& E: [nginx version: nginx/1.0.15
. u5 q5 X' Y& Ebuilt by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)* ^  v5 C) z4 p* A
TLS SNI support enabled

0 q* y2 p$ z0 H/ U0 hconfigure 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
7 H$ |8 k0 Y8 N3 Y
5 A7 `; u7 r7 R4 a
- N& l( L* P9 I3 n/ n  @  O2 U, b
nginx       service nginx start   
0 m. E* Q0 t: v* M5 |error :
& @: y$ s# e  ?( ?3 x# y" Snginx: [emerg] open() "/etc/nginx/conf.d/db52av.52av.tv.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:406 P& e! U. a( t  M
nginx: configuration file /etc/nginx/nginx.conf test failed
" R9 [  E" D: q4 Q閫瘙
撠/etc/sysconfig/selinux 抒 enforced  閮剜 disabled    then   reboot    撠勗臭誑鈭
. f  Z  C- B/ w7 \SELINUX =  enforcing    寞   disabled
+ S( a" J3 C  Q7 K% D: Q
& P) g6 X9 ~' n# g  x
: }6 L* ~4 y) j, Y1 a" P* f" L7 s

" ^9 ]0 g5 U0 o  Z' \* P3 c% B1 l; W5 K' k& Z

雿輻券

祉蝛閬

撠蝝詨

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

QQ|撠暺撅||52AV璈A

GMT+8, 2025-10-21 12:42 , Processed in 0.115229 second(s), 16 queries .

蝯∠.撱

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

鋆貉憒 敹恍敺 餈銵