LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-28-2011, 07:31 PM   #1
The Russian
Member
 
Registered: May 2011
Location: localhost
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38

Rep: Reputation: Disabled
Upgrading PHP Via SSH


Hello, I have a Virtual Private Server with CentOS 5 on it. And in order for vBulletin to run, I need to upgrade PHP to the latest version WITHOUT it even coming near mysql. So basically, I need to upgrade PHP via SSH, but PHP ONLY. NOT MySQL.

How do I do this?
 
Old 05-28-2011, 08:00 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
yum upgrade php

?
 
1 members found this post helpful.
Old 05-28-2011, 08:03 PM   #3
The Russian
Member
 
Registered: May 2011
Location: localhost
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38

Original Poster
Rep: Reputation: Disabled
I'm so dumb. Thank you.
 
Old 05-28-2011, 08:13 PM   #4
The Russian
Member
 
Registered: May 2011
Location: localhost
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38

Original Poster
Rep: Reputation: Disabled
How about if I want to upgrade Apache?
 
Old 05-28-2011, 10:50 PM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
yum upgrade httpd

You should know that this will get you the latest versions available from CentOS unless you've configured it with other repositories, and that the CentOS version, while it is patched for security flaws, is usually not the latest version available from the individual software's site.
 
1 members found this post helpful.
Old 05-28-2011, 11:06 PM   #6
The Russian
Member
 
Registered: May 2011
Location: localhost
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38

Original Poster
Rep: Reputation: Disabled
How do I get the latest version? Like what repository should I use?
 
Old 05-29-2011, 05:09 AM   #7
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 117

Rep: Reputation: 19
Ok, so you are using Plesk, a friend of mine upgraded PHP via Atomic Rocket Turtles repositories on his Plesk server.

It upgraded PHP, but it broke PHPMyAdmin in Plesk. He has not fixed it yet!!

MySQL is still ok, as Plesk relies on the MySQL installation, but it is a very old version of MySQL 4.x

So Beware when straying from repositories that are different from CentOS.

Something will always break!! (I think you have learned this from experience now!)
 
Old 05-29-2011, 05:16 AM   #8
The Russian
Member
 
Registered: May 2011
Location: localhost
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hyperhead View Post
Ok, so you are using Plesk, a friend of mine upgraded PHP via Atomic Rocket Turtles repositories on his Plesk server.

It upgraded PHP, but it broke PHPMyAdmin in Plesk. He has not fixed it yet!!

MySQL is still ok, as Plesk relies on the MySQL installation, but it is a very old version of MySQL 4.x

So Beware when straying from repositories that are different from CentOS.

Something will always break!! (I think you have learned this from experience now!)

Yeah, I used Atomic in the beginning, which is what lead to the other MySQL problem that you were responding to. I re-imaged, and this time, I deliberately upgraded MySQL instead of accidentally, and upgraded PHP by compiling the source. It was harder, but it worked.
 
Old 05-29-2011, 05:18 AM   #9
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 117

Rep: Reputation: 19
Good news. So Plesk control panel is still working ok?

If so, could you share the instructions for upgrading you followed.
 
Old 05-29-2011, 05:21 AM   #10
The Russian
Member
 
Registered: May 2011
Location: localhost
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hyperhead View Post
Good news. So Plesk control panel is still working ok?

If so, could you share the instructions for upgrading you followed.
After the re-image, everything is great, except that I had to do db rollbacks on both my forums.

Here are the resources.

http://echodittolabs.org/blog/2009/0...-52-centosrhel

And then with that, a LOT of Google-ing.
 
Old 05-29-2011, 05:25 AM   #11
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-14.2
Posts: 117

Rep: Reputation: 19
Thanks.
 
Old 05-29-2011, 05:26 AM   #12
The Russian
Member
 
Registered: May 2011
Location: localhost
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38

Original Poster
Rep: Reputation: Disabled
No problem. Thank you!
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Warning after upgrading from PHP 5.2.1 to 5.3.1 on CentOS rossie Linux - Newbie 4 12-20-2009 02:18 PM
Upgrading ssh Anomander Slackware 6 03-14-2006 09:29 AM
Upgrading SSH HELP!!!!! ericpolanco Red Hat 0 11-29-2005 06:20 PM
Upgrading SSH kaplan71 Linux - Software 1 03-10-2005 09:23 PM
Upgrading SSH bryanjones Linux - Security 12 02-23-2005 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration