hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : How can I get PHP v 5.2.4 or later on my CentOS 5.5 VPS?
Closed Thread

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

How can I get PHP v 5.2.4 or later on my CentOS 5.5 VPS?

Closed Thread Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-25-2011, 01:10 PM
myhken myhken is offline
Norwegian whale hunter
 
Join Date: Feb 2005
Location: Norway
Posts: 1,379
Question

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



Sponsored Links
  #2  
Old 04-25-2011, 01:36 PM
shell-box shell-box is offline
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...

__________________
QREG
Contact Us

  #3  
Old 04-25-2011, 01:37 PM
[CTI] Todd [CTI] Todd is online now
Web Hosting Master
 
Join Date: Jul 2009
Location: MN, USA
Posts: 1,321

Sponsored Links
  #4  
Old 04-25-2011, 01:40 PM
myhken myhken is offline
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

  #5  
Old 04-25-2011, 01:58 PM
shell-box shell-box is offline
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..

__________________
QREG
Contact Us


Last edited by shell-box; 04-25-2011 at 02:03 PM.
  #6  
Old 04-25-2011, 02:04 PM
[CTI] Todd [CTI] Todd is online now
Web Hosting Master
 
Join Date: Jul 2009
Location: MN, USA
Posts: 1,321
Quote:
Originally Posted by myhken View Post
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.

  #7  
Old 04-25-2011, 02:20 PM
rwssoccer1 rwssoccer1 is offline
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...

  #8  
Old 04-25-2011, 02:28 PM
[CTI] Todd [CTI] Todd is online now
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.

  #9  
Old 04-25-2011, 02:33 PM
rwssoccer1 rwssoccer1 is offline
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

  #10  
Old 04-25-2011, 02:36 PM
myhken myhken is offline
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

  #11  
Old 04-25-2011, 02:40 PM
shell-box shell-box is offline
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..

__________________
QREG
Contact Us

  #12  
Old 04-25-2011, 02:43 PM
rwssoccer1 rwssoccer1 is offline
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.

  #13  
Old 04-25-2011, 02:43 PM
myhken myhken is offline
Norwegian whale hunter
 
Join Date: Feb 2005
Location: Norway
Posts: 1,379
Quote:
Originally Posted by shell-box View Post
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 View Post
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

  #14  
Old 04-25-2011, 02:45 PM
shell-box shell-box is offline
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...

__________________
QREG
Contact Us

  #15  
Old 04-25-2011, 02:49 PM
myhken myhken is offline
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

Closed Thread

Similar Threads
Thread Thread Starter Forum Replies Last Post
php not updating after php update on centos tpirate5 Hosting Security and Technology 18 09-11-2012 07:06 PM
HipHop-PHP for CentOS 5 andreyka Programming Discussion 2 07-15-2010 11:12 AM
php-tidy for PHP 5.2.10 on CentOS/RHES 3 pmabraham Programming Discussion 5 09-06-2009 08:31 AM
CentOS 4.4 and PHP 4.3.9 ZonePlate Hosting Security and Technology 4 03-30-2007 11:24 AM
Upgrade PHP on CentOS VPS Behrooz_Ice Hosting Security and Technology 5 08-30-2006 11:05 AM

Related posts from TheWhir.com
Title Type Date Posted
Solar VPS Becomes Official Mirror for Centos and Ubuntu Web Hosting News 2013-04-16 11:03:34
Inerol Solutions Launches XEN VPS Hosting Service Web Hosting News 2013-04-08 12:32:06
Web Host Rackspace Adds FreeBSD 9, CentOS 6.3 Support to Cloud Servers Web Hosting News 2012-07-30 12:47:10
Web Host ServerPronto Donates Hosting Resources to CentOS Web Hosting News 2012-07-05 14:06:27
Web Host NetHosting Announces Support for CentOS 6 Web Hosting News 2011-07-05 20:15:20


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?