LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 04-12-2013, 06:04 AM   #1
amitkush
Member
 
Registered: Jun 2003
Location: Roorkee, Uttrakhand, India
Distribution: RedHat, Ubuntu
Posts: 47

Rep: Reputation: 15
Upgrading PHP and MySQL for Joomla


Hello all,

I have a webserver running joomla 1.5 site on RHEL 5. Now I want to install another site which need newer version of MySQL and PHP.

How do I go about upgrading these without disturbing the existing installations. How can the dependencies be taken care of?

Please guide....

Thanks
 
Old 04-13-2013, 03:48 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,419

Rep: Reputation: 99
You can compile new versions of mysql and php and a webserver software (apache ?) and let them listen to other ports than the defaults. Tell mysql to create the socket connection in a different location than the default. This way you can run all servers without mutual disturbances. Be aware that you have to use a different port for the web address too. Maybe you can redirect from 1 server to the other (servername1:80 -> servername2:8080) so you can avoid the call to port 8080 or whatever. A proxy might help achieving that...

Hope this helps
J
 
Old 04-14-2013, 11:21 PM   #3
amitkush
Member
 
Registered: Jun 2003
Location: Roorkee, Uttrakhand, India
Distribution: RedHat, Ubuntu
Posts: 47

Original Poster
Rep: Reputation: 15
Thanks j-ray.

How can I upgrade the existing PHP and MySQL versions to new versions and take care of the dependencies.

The existing installations can run well in new versions. So, don't really need the older versions.

How can I take care of dependencies?

Thanks
 
Old 04-16-2013, 09:58 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,419

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
Quote:
Originally Posted by amitkush View Post
Thanks j-ray.
How can I upgrade the existing PHP and MySQL versions to new versions and take care of the dependencies. The existing installations can run well in new versions. So, don't really need the older versions. How can I take care of dependencies?
You use the yum command, which will connect to the Red Hat network and download/install everything it needs. You don't say what version of RHEL5, but Red Hat support should be easily able to walk you through what to do.
 
  


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
Upgrading php and mySQL. Nintendo Linux - Server 2 05-04-2010 11:06 PM
Upgrading Apache, PHP and MySQL gurl4sh25 Linux - Software 7 09-14-2007 05:23 AM
Upgrading PHP..and maybe MySQL too? Vort3x Mandriva 4 11-23-2004 05:40 PM
Upgrading PHP,.. and maybe MySQL too? Vort3x Linux - Software 1 10-29-2004 11:35 AM


All times are GMT -5. The time now is 01:52 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