
04-25-2011, 01:10 PM
|
|
Norwegian whale hunter
|
|
Join Date: Feb 2005
Location: Norway
Posts: 1,379
|
|
How can I get PHP v 5.2.4 or later on my CentOS 5.5 VPS?
Hello.
I currently has a secondary VPS with JaguarPC.com, running CentOS 5.5 (final)
Quote:
[root@vps ~]# cat /etc/*release*
CentOS release 5.5 (Final)
[root@vps ~]# uname -a
Linux vps.*********** 2.6.18-028stab067.4-ent #1 SMP Thu Jan 14 22:32:05 MSK 2010 i686 i686 i386 GNU/Linux
|
My current PHP version is 5.1.6
Quote:
[root@vps ~]# php -v
PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
|
But I need PHP version 5.2.4 or later. On my primary VPS I have version 5.2.17, on the same CentOS version:
Quote:
[root@vps4 ~]# php -v
PHP 5.2.17 (cli) (built: Jan 7 2011 08:49:48)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.7, Copyright (c) 2002-2011, by ionCube Ltd.
[root@vps4 ~]# cat /etc/*release*
CentOS release 5.5 (Final)
[root@vps4 ~]# uname -a
Linux vps4.*********** 2.6.18-028stab089.1 #1 SMP Thu Apr 14 13:46:04 MSD 2011 i686 i686 i386 GNU/Linux
|
Since I have no Linux knowledge, I need help. I tried to contact JaguarPC support since I have a managed VPS, but I only got this reply:
Quote:
Hi;
Plesk uses the OS Vendor provided RPMs for PHP. Your server is running CentOS 5.5 that supports PHP 5.1.6 which is currently installed on your VPS server.
Mysql is already mysql 5.
|
I also asked to install yum, but they did not install it. I have tried to install yum from guide like this ( link1), but it do not work.
Can anybody please help me with installing the newest PHP version, and maybe yum also. Most of the guide out there expect you have yum installed, when I search for PHP upgrading.
__________________
Kenneth Myhre
Currently hosting with: Prometeus.net (10+ months), Urpad.net (10+ months), SolaDrive.com (10+ months) and KnownHost.com (10+ months).
My Top 20 benchmark list
|

04-25-2011, 01:36 PM
|
|
Web Hosting Guru
|
|
Join Date: Apr 2004
Location: Florida
Posts: 290
|
|
You can use the Jason's Utter Ramblings Repo to get php 5.2.16
add this to the end of your yum.conf
[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL5/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
then do yum update php
I know you said 5.2.17 but only 5.2.16 is in the repo....
Good luck...
|

04-25-2011, 01:37 PM
|
|
Web Hosting Master
|
|
Join Date: Jul 2009
Location: MN, USA
Posts: 1,321
|
|
|

04-25-2011, 01:40 PM
|
|
Norwegian whale hunter
|
|
Join Date: Feb 2005
Location: Norway
Posts: 1,379
|
|
Thanks, but is i wrote in the post, I don't have yum installed, and I have tried to follow several links to install yum, but do not manage to install it. The latest guide I followed was this: http://wiki.openvz.org/Install_yum
Using the guide for CentOS 5 i386, updating the links from http://mirror.centos.org/centos-5/5/os/i386/CentOS/
But I can not install yum, and I can not update PHP.... 
__________________
Kenneth Myhre
Currently hosting with: Prometeus.net (10+ months), Urpad.net (10+ months), SolaDrive.com (10+ months) and KnownHost.com (10+ months).
My Top 20 benchmark list
|

04-25-2011, 01:58 PM
|
|
Web Hosting Guru
|
|
Join Date: Apr 2004
Location: Florida
Posts: 290
|
|
Yeah I should have read the post more carefully it does not look like its going to happen per your Provider's response.
You could try to download the RPMs but it probably wont work because its openvz dependencies are a problem.. Have to do a lot on the host box..
Last edited by shell-box; 04-25-2011 at 02:03 PM.
|

04-25-2011, 02:04 PM
|
|
Web Hosting Master
|
|
Join Date: Jul 2009
Location: MN, USA
Posts: 1,321
|
|
Quote:
Originally Posted by myhken
But I can not install yum
|
Oops, sorry, I glanced over that part. One way to do that is to download the yum RPM from a CentOS mirror and try to install it. It will fail with messages indicating the missing dependencies that need to be installed. You will then need to download those dependencies . . which will probably have more dependencies, keep following that until you have all dependencies satisfied.
If you need help, PM me -- I've done this before.
|

04-25-2011, 02:20 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Aug 2009
Posts: 54
|
|
Wow if they wont install yum for you then i would leave. How are you supposed to update your vps? Um is such a basic and common thing on CentOS based VPS's...
|

04-25-2011, 02:28 PM
|
|
Web Hosting Master
|
|
Join Date: Jul 2009
Location: MN, USA
Posts: 1,321
|
|
There are some very stripped down templates that don't include Yum.
|

04-25-2011, 02:33 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Aug 2009
Posts: 54
|
|
i agree but what i meant was most hosts would allow it to be installed or would install it for you
|

04-25-2011, 02:36 PM
|
|
Norwegian whale hunter
|
|
Join Date: Feb 2005
Location: Norway
Posts: 1,379
|
|
JaguarPC has the time to reply on my review thread, but not the time to try solving my issue
http://www.webhostingtalk.com/showpo...11&postcount=4
Still only PHP version 5.1.6 and no yum.
I have started to upgrade some of my sites from Wordpress to Drupal 7, and Drupal needs PHP version 5.2.4 or higher.
If I can't get a newer PHP version, I have to change to another VPS for my secondary VPS.
Why is Linux so difficult? Or is it my VPS template?
And why can't JaguarPC support upgrade my PHP? Where is the problem?
__________________
Kenneth Myhre
Currently hosting with: Prometeus.net (10+ months), Urpad.net (10+ months), SolaDrive.com (10+ months) and KnownHost.com (10+ months).
My Top 20 benchmark list
|

04-25-2011, 02:40 PM
|
|
Web Hosting Guru
|
|
Join Date: Apr 2004
Location: Florida
Posts: 290
|
|
I think it could be the template do they have xen vpses or kvm vpses? If you switch to those it will be a matter of using yum..
|

04-25-2011, 02:43 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Aug 2009
Posts: 54
|
|
Its deff the template not linux. Every provider has their own custom template. My vps from http://futurehosting.com came with yum...due not though that by default the newest version of php usually isnt installed. I had to install a yum repository that that the latest version of php and then installed the new version using that.
|

04-25-2011, 02:43 PM
|
|
Norwegian whale hunter
|
|
Join Date: Feb 2005
Location: Norway
Posts: 1,379
|
|
Quote:
Originally Posted by shell-box
I think it could be the template do they have xen vpses or kvm vpses? If you switch to those it will be a matter of using yum..
|
But still, why can't they upgrade my PHP to version 5.2.x?
Quote:
Originally Posted by rwssoccer1
Its deff the template not linux. Every provider has their own custom template. My vps from http://futurehosting.com came with yum...due not though that by default the newest version of php usually isnt installed. I had to install a yum repository that that the latest version of php and then installed the new version using that.
|
I know, on my main VPS from FutureHosting I have yum, and I have the newest PHP (ver 5.2.17). But they really have managed VPS's.
__________________
Kenneth Myhre
Currently hosting with: Prometeus.net (10+ months), Urpad.net (10+ months), SolaDrive.com (10+ months) and KnownHost.com (10+ months).
My Top 20 benchmark list
|

04-25-2011, 02:45 PM
|
|
Web Hosting Guru
|
|
Join Date: Apr 2004
Location: Florida
Posts: 290
|
|
They may not be able to on the host box and that may be causing the problem... It really depends on how openvz is setup, the os it is installed on etc... We actually had similar issues when we used openvz on debian...
|

04-25-2011, 02:49 PM
|
|
Norwegian whale hunter
|
|
Join Date: Feb 2005
Location: Norway
Posts: 1,379
|
|
Ok... I will wait then to see if they can upgrade my PHP.
If not I have to start looking for a new secondary VPS.
And maybe I need to, since they thing I'm whining about the problem here at WHT!
http://www.webhostingtalk.com/showpo...44&postcount=7
__________________
Kenneth Myhre
Currently hosting with: Prometeus.net (10+ months), Urpad.net (10+ months), SolaDrive.com (10+ months) and KnownHost.com (10+ months).
My Top 20 benchmark list
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|