阿里云服务器centos6.3进行php升级(从5.3.3 -> 5.5.8)
2014-01-27 12:16
567 查看
背景:
准备使用laravel框架(http://laravel.com),但是阿里云服务器上的php版本为 5.5.3,laravel的系统要求是 php版本 > 5.3.7.
问题:
使用 yum update-check,结果 当前 centos上的源的php版本还是5.5.3,所以决定换个源;
步骤:
1、参考:http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x,找到源,
然后查看源:
2、配置
设置 enabled 选项都是 1
3、安装
4、done
准备使用laravel框架(http://laravel.com),但是阿里云服务器上的php版本为 5.5.3,laravel的系统要求是 php版本 > 5.3.7.
问题:
使用 yum update-check,结果 当前 centos上的源的php版本还是5.5.3,所以决定换个源;
步骤:
1、参考:http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x,找到源,
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
然后查看源:
$ ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/remi.repo
2、配置
sudo vim /etc/yum.repos.d/remi.repo
设置 enabled 选项都是 1
3、安装
yum –enablerepo=remi update php* mysql*
4、done
相关文章推荐
- 阿里云服务器centos6.3进行php升级(从5.3.3 -> 5.5.8)
- 阿里云Centos 6.3 64位 安全加固版 升级 Php 中的 Curl 7.19 到 7.35
- 阿里云服务器下安装LAMP环境(CentOS Linux 6.3) 安装与配置 php
- 阿里云服务器CentOS 6.5系统搭建php开发环境(apache+php+mysql)
- 阿里云CentOS 6.3 64位下搭建php运行环境
- centos6.5的php5.3.3这个版本怎么升级到5.6
- centOS6.3 64位SVN服务器搭建&win7 32位svn客户端连接
- 阿里云服务器下安装配置phpMyAdmin——基于CentOS 6.3
- 在阿里云 centos 6.3上面安装php5.2(转)
- 在阿里云 CentOS 服务器(ECS)上搭建 nginx + mysql + php-fpm 环境
- CentOS 6.3安装配置LNMP服务器,自定义php,mysql版本
- 阿里云服务器下安装LAMP环境——基于CentOS 6.3
- CentOS 6.3安装配置LAMP服务器 (Apache+PHP5+MySQL)
- 阿里云服务器下安装LAMP环境(CentOS Linux 6.3) 安装与配置 FTP 服务器
- centos安装php libevent >= 1.4.11 could not be found
- 阿里云服务器下FTP设置——基于CentOS 6.3
- 阿里云服务器下安装配置 vsftpd —— 基于CentOS 6.3 【简洁版】
- 在阿里云 CentOS 服务器(ECS)上搭建 nginx + mysql + php-fpm 环境
- 阿里云服务器下配置LAMP环境——基于CentOS 6.3