centos6.5的php5.3.3这个版本怎么升级到5.6
来源:互联网 发布:守望先锋左上角数据vrm 编辑:程序博客网 时间:2024/05/17 22:24
https://zhidao.baidu.com/question/1050957630272706259.html
简单介绍一下,如何在CentOS上安装PHP5.6。
配置yum源
追加CentOS 6.5的epel及remi源。
1# rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
2# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
简单介绍一下,如何在CentOS上安装PHP5.6。
以下是CentOS 7.0的源。
2 # rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
使用yum list命令查看可安装的包(Packege)。
1# yum list --enablerepo=remi --enablerepo=remi-php56 | grep php
安装PHP5.6
yum源配置好了,下一步就安装PHP5.6。
1 # yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof
用PHP命令查看版本。
# php --version
PHP 5.6.0 (cli) (built: Sep 3 2014 19:51:31)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans
最后记得重启apache
service httpd restart
- centos6.5的php5.3.3这个版本怎么升级到5.6
- centos6.5的php5.3.3这个版本怎么升级到5.6
- linux centos6.5的php5.3.3这个版本怎么升级到5.6 # rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64
- centos6.5的php5.3.3 通过yum升级到5.6
- centos6 升级php5.3.3 到 php5.5.38 或者其它版本
- centOS6.5如何升级php5.3.3到php5.5.27
- vm虚拟机安装的centos6.8系统下将php5.3.3升级到5.6.3
- Centos6.5升级PHP5.5
- CentOS6.2平台升级PHP5.3.28到PHP5.5.14
- CentOS6.2平台升级PHP5.3.28到PHP5.5.14
- wamp升级php5.3.3到5.4.36版本
- WDCP升级到PHP5.3版本
- centos7升级自带的php5.4版本到php5.6
- CentOS6.x升级MySQL版本5.1到5.6
- CentOS6.x升级MySQL版本5.1到5.6
- CentOS6.5安装指定的PHP版本(php5.5)
- CentOS6.5安装指定的PHP版本(php5.5)
- ubuntu 升级php5.3到php5.5
- 查找字符串中字母出现最多次数的方法小结
- ng2学习笔记(一)初识ng2
- 水果竞猜开奖游戏还可以这样玩
- nio之Selectordemo
- NSCache的简单使用介绍
- centos6.5的php5.3.3这个版本怎么升级到5.6
- ubuntu中安装Mysql
- nio Selector 阻塞 唤醒 原理
- wsimport的使用
- Spring框架(一)环境搭建、配置(xml、注解)、整合JDBC以及项目详解
- Sort Colors -- LeetCode
- 十进制转八进制
- 属性动画一
- 我们这一代人的困惑 - 转载