LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Upgrading PHP and MySQL for Joomla (https://www.linuxquestions.org/questions/red-hat-31/upgrading-php-and-mysql-for-joomla-4175457894/)

amitkush 04-12-2013 06:04 AM

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

j-ray 04-13-2013 03:48 AM

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

amitkush 04-14-2013 11:21 PM

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

TB0ne 04-16-2013 09:58 AM

Quote:

Originally Posted by amitkush (Post 4931634)
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.


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