|
登录后查才能浏览下载更多咨询,有问题联系QQ:3283999
您需要 登录 才可以下载或查看,没有账号?入住遨海湾
×
1.首页安装Webtatic EL6 YUM源; _: t: k6 D4 D& \
rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm 8 d6 {- R$ e# m
2.停止web服务器9 j. @5 I' Y% \1 d4 e4 \
service nginx stop" j+ U/ n0 ~; r" R9 V6 K
或者; U1 H6 M9 Y3 O" S
service httpd stop& a0 Z' E- Z M* c! H
3.删除当前的 php 安装 php5.4* \" l7 Q' }! K% W! M2 J) g
yum remove php*+ ?/ b. r2 n* R' h7 M9 |1 s3 j
yum install php54w. p6 E7 T- F5 t5 H* j9 r
4.重启web服务器
* q6 r c& n1 ?service php-fpm restart
- w: k6 u) s# A) Zservice nginx start
2 Q% O8 F" U7 D& I H; S或者
4 ~* `$ ^1 i1 F2 J5 |( Eservice httpd restart
3 W5 |5 C1 y; ^4 M5.查看php版本, b+ B4 n3 J. @* e
php -v/ _. C7 \1 H: u5 E: {& t
PHP 5.4.33 (cli) (built: Sep 19 2014 19:58:27)" f! g6 C! Z* b$ D, _
Copyright (c) 1997-2014 The PHP Group
F% q/ L7 w& U7 `Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies |
|