LinuxQuestions.org
Register a domain and help support LQ
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, 08: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, 09:00 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,650

Rep: Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525
yum upgrade php

?
 
1 members found this post helpful.
Old 05-28-2011, 09: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, 09: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, 11:50 PM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,650

Rep: Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525
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-29-2011, 12:06 AM   #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, 06:09 AM   #7
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-current
Posts: 95

Rep: Reputation: 7
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, 06: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, 06:18 AM   #9
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-current
Posts: 95

Rep: Reputation: 7
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, 06: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, 06:25 AM   #11
hyperhead
Member
 
Registered: Mar 2011
Location: UK
Distribution: Slackware-current
Posts: 95

Rep: Reputation: 7
Thanks.
 
Old 05-29-2011, 06: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:18 PM
Upgrading ssh Anomander Slackware 6 03-14-2006 10:29 AM
Upgrading SSH HELP!!!!! ericpolanco Red Hat 0 11-29-2005 07:20 PM
Upgrading SSH kaplan71 Linux - Software 1 03-10-2005 10:23 PM
Upgrading SSH bryanjones Linux - Security 12 02-23-2005 09:54 AM


All times are GMT -5. The time now is 10:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration