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.
相关推荐
然而,在某些配置较低的服务器上,如内存仅为256M的VDS实例,运行全部服务可能会导致资源紧张,从而引发各种错误。在本文中,我们将探讨如何解决因内存不足导致的Simple Control Panel运行问题。 当Simple Control ...
在本文中,我们将深入探讨如何使用 Laravel 框架与 GoDaddy 配合,以实现从 GoDaddy.com 搜索、购买域名以及部署 Laravel 应用到 GoDaddy 主机的过程。Laravel 是一个优雅且强大的 PHP 开发框架,而 GoDaddy 是全球...
在将域名转移到GoDaddy之前,需要先将域名转移到万网ID下。如果您是在代理那里购买的域名,可以要求代理将域名转移到您的万网ID下。 二、万网域名转移密码的获取 1. 进入万网会员中心,点击【域名管理】大类下的[ ...
Godaddy 购买域名流程详解 Godaddy 是一家著名的域名注册商,提供了便捷的域名注册和管理服务。下面是 Godaddy 购买域名的详细流程: Step 1: 登陆 Godaddy 并挑选域名 在 Godaddy 官方网站登陆账户,挑选要购买...
本文将详细介绍如何在GODADDY虚拟主机上创建和使用MySQL数据库。 ### 注册和购买GODADDY虚拟主机 创建MySQL数据库的第一步是拥有一个GODADDY虚拟主机。因此,用户首先需要在GODADDY官网注册一个账号。在注册过程中...
GoDaddy和Hostease都是提供虚拟主机服务的公司,它们在服务内容和价格上有一定的区别。文件中没有详细提及它们的服务质量、客户支持等其他可能影响选择的因素。用户在选择虚拟主机时,应根据自己的具体需求,比如...
【如何转移国际域名到GoDaddy】 在互联网领域,拥有一个独立且可自主管理的域名对任何企业或个人来说都至关重要。GoDaddy是全球知名的ICANN认证域名...转移完成后,你就可以在GoDaddy的平台上全面管理你的国际域名了。
当在Godaddy空间上遇到需要升级Zend Optimizer的情况时,可以按照以下步骤进行: 1. 下载最新的Zend Optimizer安装包。由于本文档中提到的最新版本为3.3,建议下载该版本的安装文件。 2. 解压缩下载的文件,会看到...
需要注意的是,地址需要分两部分填写到两个地址框中。 4. 创建登录信息,包括登录用户名、密码、确认密码、密码提示和PIN码。密码需要满足一些条件,如不能少于9个字符、必须包含1个数字、1个大写字母等。 5. 勾选...
将文件上传到你的空间,绑定你想转发的**到这个空间上 2. 没有使用登陆验证,请修改a4.php这个文件名,转发的**在这里配置 3. 同时如果你不想让别人看到你哪些**在使用转发,修改xml文件名,Linux机修改其属性为...
首先,读者需要访问 GoDaddy 的官方网站,选择合适的空间类型。GoDaddy 提供了多种空间类型,包括共享主机、虚拟主机、专用主机等。读者可以根据自己的需求选择合适的空间类型。 三、输入优惠码 在选择空间类型后...
在本压缩包“PHP实例开发源码—域名在线查询系统源码 php版.zip”中,包含了一个基于PHP语言实现的域名在线查询系统的完整源代码。这个系统允许用户输入域名,实时查询其可用性,这对于注册商或者网站开发者来说是一...
这种方式提高了便利性,特别是对于那些在远程服务器上管理文件的用户。 “PHP压缩”和“PHP打包”则表明了实现这一功能的技术手段。PHP是一种广泛使用的服务器端脚本语言,能够处理各种Web交互任务,包括文件操作。...
本文将详细介绍如何在 Godaddy 主机上快速安装 Zen Cart 程序,以帮助您快速建立网站,提高工作效率。 首先,我们需要了解 Zen Cart。Zen Cart 是一个基于 PHP 和 MySQL 的免费购物车软件,它提供了一个用户友好的...
PHP自动登录WEBQQ是测试版本,真在进行长期登录测试不知道多久会自动断开,PHP自动登录WEBQQ有个优点,回复永远不会出现 此用户使用web.qq.com 登录。 PHP自动登录WEBQQ注意事项 没有添加防止重复运行 重复运行后果...
在linux系统下使用Godaddy域名更换DNS的方法.docx
* 访问Godaddy首页,网址为www.godaddy.com * 填写用户名、密码,点GO登录 * 点击要编辑的域名右侧的“Advanced Details” * 进入域名设置页面 2. 域名解析(DNS)和解析服务器(NS)的设置 在Godaddy设置域名解析和...
Godaddy购买域名流程