This is all good news, but not when you have a CentOS Linux server. CentOS is not the fastest OS to release compatible updates to the system. This does not mean they are not available, only that they are not officially released to be updated through YUM. You can compile your own PHP 5 ini file but this can also cause you a lot of problems as you will see later.
I looked at this a long time ago while wanting to test magento in a server environment. I ran into a couple of problems that I didn't understand at the time and let it go as I really didn't actually need to use it.
After a while of just wanting it on there to test the new versions of Joomla and Drupal so my bosses could actually see and use them, I went back to google and found myself at the same post from freshblurbs.com. What I didn't understand at the time turned out to be really simple so I thought I would repost the solution here specifically for customers of godaddy running virtual private servers (VPS) or dedicated servers (DS).
The original post can be foundhere.
This post also spells out the problems involved when updating in any other way so read them well before you start.
What we are about to do is add another location for the system to look for repositories of software that are compatible with the system involved.
Ok, so, after you have read the post at freshblurbs.com, you should readJason Litkas' post, the guy responsible for compiling the updates you are about to install.
First of all, a pre-installed godaddy system does not include pecl so the first instructions you are given will result in an error.
Start by loging into your server as root user through SSH as detailedhere.
The first instruction on Jasons post uses nano, which is where I got my first error. So first we need to install nano!
yum install nano
simple as that
Then we continue with his instructions to add his repositories to the system.
nano -w /etc/yum.repos.d/utterramblings.repo
This opens the nano editor where we type:
[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
Exit and save, and the repositories are now added to the system (if everything is typed correctly)
You can update now through SSH or login to the simple control panel (or your alternative control panel) and update there.
To update PHP to version 5.2xx using YUM type:
yum update php
and follow the onscreen prompts.
Think twice before you click on everything in the control panel to update to the latest version. If you update the mysql server you will have to run additional comands to update previous tables and have it work again with your control panel. This may also be true for other parts of the system. I updated PHP to 5.24, Apache and Mysql, but all that was nessercary was to update PHP to 5.2xx.
To run magento you will also need Mcrypt and Mhash as detailedhere.
相关推荐
Godaddy VDS Unix提供的简易的Simple Control Panel服务器控制面板,但是对于我这款VDS中最低档次的服务器,内存256M来说,要运行所有的服务器组件服务,是个不小的考验
Godaddy购买域名流程.doc
国际域名从万网转到GoDaddy最新操作方式[整理].pdf
将文件上传到你的空间,绑定你想转发的**到这个空间上 2. 没有使用登陆验证,请修改a4.php这个文件名,转发的**在这里配置 3. 同时如果你不想让别人看到你哪些**在使用转发,修改xml文件名,Linux机修改其属性为...
Laravel开发-laravel-godaddy 从godaddy.com搜索和购买域名的简单方法
如何转移国际域名到GoDaddy[参照].pdf
Godaddy注册教程.docx
Godaddy支付宝人民币付款购买空间教程图解.docx
PHP自动登录WEBQQ是测试版本,真在进行长期登录测试不知道多久会自动断开,PHP自动登录WEBQQ有个优点,回复永远不会出现 此用户使用web.qq.com 登录。 PHP自动登录WEBQQ注意事项 没有添加防止重复运行 重复运行后果...
在linux系统下使用Godaddy域名更换DNS的方法.docx
godaddy、hostease虚拟主机比较.pdf
Godaddy购买域名流程
GODADDY虚拟主机My SQL数据库创建使用教程
七个技巧!Godaddy域名安全指数提高N倍.docx
这让我很迷茫,这么普遍的空间为什么没有安装zend了,然后我查看info.php,我惊奇的发现,服务器zend竟然是 1.3.1版本的,而我用的程序至少需要2.6.x以上,没办法,只有升级我的zend了,原理以后升级zend会很复杂,...
2.把数据库文件db.sql导入到数据库(可以使用phpmyadmin导入) 3.修改数据库配置文件db_conf.php (请使用UTF-8格式编缉) $hostname = "localhost"; $username = "数据库用户名"; $password = "数据库密码"; $...
PHP自动登录WEBQQ是测试版本,真在进行长期登录测试不知道多久会自动断开,PHP自动登录WEBQQ有个优点,回复永远不会出现 此用户使用web.qq.com 登录。PHP自动登录WEBQQ注意事项没有添加防止重复运行 重复运行后果自负...
GoDaddy API 自动生成的 Javascript包装器 安装 npm install godaddy-api 从创建生产GoDaddy API密钥和机密 ... godaddy.orders.list().then(function(res){ var orders = res.body; }) 完整文件
码头工人该程序可以作为Docker容器运行,也可以在家庭网络中运行Python 3的设备上运行。 使用Docker,您可以像这样调用程序: docker run godaddyddns --version依存关系该程序是使用Python 3编写和测试的,因此您...