怎样在CentOS 6.5上安装PHP 5.4(或5.6)

admin 提交于 星期日, 06/28/2015 - 17:56

 

rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm

yum remove php-common # Need to remove this, otherwise it conflicts

yum install php54w

php --version # Verify version has been upgraded

 You can also use php55w or php56w as required.

标签

添加新评论

Restricted HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img src>
  • 自动断行和分段。
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
请输入"Drupal8"