LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2013, 01:13 AM   #1
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Rep: Reputation: 1
php, mysql upgradation


Hi
i have centos 5.3 installed . i installed php and mysql and apache other than default location i.e i make one folder named xyx here i compile binaries of php,mysql,php and installed web based applications , now i want to upgrade this php,mysql,apache , as if i use yum upgrade apache it will upgrade default apache not apache in xyz folder , so to upgrade this what to do
 
Old 05-03-2013, 05:31 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,166

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
So do what you did before, download the packages and compile them in to your non-standard folders.
 
Old 05-03-2013, 10:02 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,933

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by amartlk View Post
Hi
i have centos 5.3 installed . i installed php and mysql and apache other than default location i.e i make one folder named xyx here i compile binaries of php,mysql,php and installed web based applications , now i want to upgrade this php,mysql,apache , as if i use yum upgrade apache it will upgrade default apache not apache in xyz folder , so to upgrade this what to do
Well, what do you THINK you should do??

However you installed PHP, MySQL, and Apache to the non-standard location, you follow that same procedure to install the NEW VERSIONS. As with this thread:
http://www.linuxquestions.org/questi...-a-4175447015/

...what you're doing is a BAD IDEA. Your test and production servers shouldn't be on the same system, and running two versions on one system will only lead to problems like this.
 
Old 05-03-2013, 06:22 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,822

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
two versions on the same machine .. .not a great idea

now the non-standard location
fine

i like to put everything in the same location
something like
/opt/www/Apache
/opt/www/http/html
/opt/www/http/cgi-bin
/opt/www/Mysql
/opt/www/php
/opt/www/php-myadmin
/opt/www/AWStats

it just keeps everything together ,instead of spread all over the os
but it DOSE require a lot of set up

also CentOS 5.3 is now 6 minor versions out of date!
the only version of the older 5 series supported by cent is
" CentOS 5.9 "

please upgrade and install the current security updates

Last edited by John VV; 05-03-2013 at 06:28 PM.
 
  


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 upgradation johnsonkv91 Linux - Software 3 03-13-2012 07:01 AM
PHP GD Upgradation SomnathG Linux - General 1 10-22-2008 11:52 AM
upgradation of Apache, PHP and Mysql tsaravan Linux - Networking 1 10-11-2005 08:31 AM
upgradation of Apache, PHP and Mysql tsaravan Linux - Newbie 1 10-11-2005 07:54 AM


All times are GMT -5. The time now is 06:50 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration