Can some one please post the exact linux console commands to do this.
My box has a similar problem, I need to upgrade PHP.
ONLY: Itâs a Fedora Core 4 box running PLESK 8.
PLESK 8 - that is a heavy duty package for multipul virtual hosting is this a shared server or dedicated server and are you the admin of this box?
I did all my work from command line and I tested on a non-production server before replicating the process on my production servers.
In other words - what I am wondering is . . . do you own this server you want to update or is this server owned by a hosting company that you have an account on. If the server is not yours and you do not have full administrative rights or root access then you would need to contact the hosting company or server owner, they might not want to upgrade the PHP.
If indeed you own the server then read on. . .
I have no idea what are the specifics for upgrading PHP/MYSQL using this âyummyâ lark.
Can someone please post a crash course.
You can see if YUM is loaded on your machine by just typing yum on the command line. If yum is there then it will default and bring up a list of possibile commands to be used with yum. If yum is not there then you will first need to install yum.
You ask what is YUM - well in short - YUM is Yellowdog Updater Modified
You can read about it here - http://en.wikipedia.org/wiki/Yellow_dog_Updater,_Modified - or go to the source - http://linux.duke.edu/projects/yum/
Yum is fairly self explainitory there is no real crash course in yum other than the docs on-line. Honestly I cannot recommend typing in yum blah blah blah and presto you will have upgraded PHP. You need to understand the full actions of yum and implications of what yum is doing before you just go off and type in commands. If you do indeed break something by performing a yum install/update or upgrade then you need to know how to fix it if box breaks at least have some place to start.
I canât afford to break PLESK or the box, itâs running live sites. so I need 100% assurance from other people who have upgraded live boxes running fedora core 4 and plesk from php 5.1.2 to 5.2.5
As with any install, upgrade or update you run the risk of “breakage”. If you need a 100% guarentee that using YUM to upgrade your PHP is not going to break something then you need to pass on this whole post, or you need to engage the services of a admin who is willing to take on that responsibility.
All I can tell you is that I have used YUM to upgrade PHP on 5 different boxes at this time, most of them going from 5.1.6 to 5.2.5 or 5.2.6 and I have had no problems. Using YUM was a seamless update process that resulted in no down time for me.
Looking through the docs for PLESK 8 - http://www.parallels.com/en/products/plesk/ - I cannot find anywhere that the writers of PLESK publish what PHP PLESK will work with and will not work with.
But if you wish to proceed here is what I did . . .
I added the http://www.jasonlitka.com repository to my YUM list of repositories.
I ran yum upgrade php
I ran magento install and I had missed mcrypt and dom so . . .
I ran yum install php-mcrypt
I ran yum install php-dom
I restarted httpd
I was then done and went and smoked a cigar looking at the newly updated box I had just finished.
Seriously there is NO-QUICK fix I can recommend other than engage a Linux admin that is willing to upgrade the PHP for you if you are unwilling or unprepared to risk breaking the box.