volence
Trekkie

Offline
Posts: 13
|
 |
« on: August 10, 2008, 02:40:16 AM » |
|
I bought VPS plan and found that the PHP installed on the server is PHP4, but I need PHP5, can I upgrade to PHP5 and how to? I tried to use yum but it seems can't work.
Thank you !
|
|
|
|
|
Logged
|
|
|
|
volence
Trekkie

Offline
Posts: 13
|
 |
« Reply #1 on: August 10, 2008, 07:23:25 AM » |
|
OK, I've managed to finish it by rpm... Sorry for disturb.
I also have another question, how to know how many bandwitdh I have used this month?
|
|
|
|
|
Logged
|
|
|
|
|
perestrelka
|
 |
« Reply #2 on: August 13, 2008, 10:24:32 PM » |
|
OK, I've managed to finish it by rpm... Sorry for disturb.
I also have another question, how to know how many bandwitdh I have used this month?
If you have Plesk on your VPS, it shows bandwith stats for each domain created in it.
|
|
|
|
|
Logged
|
Kind Regards, Vlad Artamonov
|
|
|
berryc
Trekkie

Offline
Posts: 10
|
 |
« Reply #3 on: August 20, 2008, 01:20:58 PM » |
|
Hi Volence, I need to do the same...can you share how you did it?
Thanks, Craig
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
tmdevildogs
Trekkie

Offline
Posts: 16
|
 |
« Reply #6 on: October 03, 2008, 07:33:32 AM » |
|
so can someone please fix it?
|
|
|
|
|
Logged
|
|
|
|
|
perestrelka
|
 |
« Reply #7 on: October 04, 2008, 05:43:02 AM » |
|
Hi Tmdevildogs,
I have adjusted the instructions in the post. Can you please try them now and reply back, if you are still getting any errors/issues.
|
|
|
|
|
Logged
|
Kind Regards, Vlad Artamonov
|
|
|
tmdevildogs
Trekkie

Offline
Posts: 16
|
 |
« Reply #8 on: October 04, 2008, 02:58:13 PM » |
|
yes it worked now but at the end when i tried to uninstall yum it gave me the following error
error:package rpm -aq | grep yum is not installed
so does that mean the uninstall didnt work?
|
|
|
|
|
Logged
|
|
|
|
|
perestrelka
|
 |
« Reply #9 on: October 04, 2008, 11:31:45 PM » |
|
yes it worked now but at the end when i tried to uninstall yum it gave me the following error
error:package rpm -aq | grep yum is not installed
so does that mean the uninstall didnt work?
It looks like there were wrong commas used. You need to use inverted commas for `rpm -aq | grep yum` like it is specified in the forum post.
|
|
|
|
|
Logged
|
Kind Regards, Vlad Artamonov
|
|
|
|
conga3
|
 |
« Reply #10 on: October 11, 2008, 11:59:55 PM » |
|
perestrelka steps to upgrading PHP/MySQL would be very beneficial if it were a FAQ article.
|
|
|
|
|
Logged
|
|
|
|
|
perestrelka
|
 |
« Reply #11 on: October 12, 2008, 10:31:58 AM » |
|
Hi Conga3,
Thanks for your suggestion. The steps will be adopted to FAQ soon.
|
|
|
|
|
Logged
|
Kind Regards, Vlad Artamonov
|
|
|
|
conga3
|
 |
« Reply #12 on: October 12, 2008, 11:00:14 AM » |
|
I get this during final step: [root@vps ~]# rpm -e `rpm -aq | grep yum` error: Failed dependencies: yum >= 2.2 is needed by (installed) atomic-release-1.0-7.el4.art.noarch  ? Also need 3 more steps: -Replace /etc/my.cnf with /etc/my.cnf.rpmnew -Replace /etc/php.ini with /etc/php.ini.rpmnew -Reboot Server
|
|
|
|
« Last Edit: October 12, 2008, 11:37:31 AM by conga3 »
|
Logged
|
|
|
|
|
vlad.panainte
|
 |
« Reply #13 on: October 13, 2008, 02:49:25 AM » |
|
Hello Download and install yum: * For RHEL 3 family: 1. download the yum package from http://linux.duke.edu/projects/yum/download/ (the latest available 2.* package recommended) 2. install yum version 2.0.* package # rpm -ivh yum-2.*.noarch.rpm * For RHEL 4 family: 1. download the yum package and its dependencies from http://www.freevps.com/download/yum/RHEL4 2. install yum version 2.6.* package and dependencies: # rpm -ivh yum-2.6.*.noarch.rpm sqlite-2.8.*.i386.rpm python-urlgrabber-2.9.*.noarch.rpm python-sqlite-1.0.*.i386.rpm python-elementtree-1.2.*.i386.rpm I hope this is helpful. Thank you
|
|
|
|
|
Logged
|
|
|
|
|
conga3
|
 |
« Reply #14 on: October 13, 2008, 08:42:36 AM » |
|
The above steps by perestrelka installed:
PHP 5.2.6 MySQL - 5.0.58 MySQL client version: 4.1.20
How would I upgrade the MySQL client version to match the server version? Isn't that preferred? required?
|
|
|
|
|
Logged
|
|
|
|
|