Help - Search - Members - Calendar
Full Version: Newbie needs help upgrading PHP
The Planet Forums > Control Panels > Plesk
Miss-NewYork
Last Sunday I made the decision to move from shared hosting to a VPS. And I am already regretting it, because instead of the new possibilities I thought I would get I even have less.
I don't require any top-notch features, but apparently the server doesn't even have GD installed, which I need very much, and it runs with PHP 4.2.2, MySQL 3.23.

Since last Sunday I have learned what SSH is and how to use it - at least the basics. But I'm not able to upgrade PHP, and I looked through the posts on this board and through guides on other websites. There are so many terms I've never heard before, so I don't dare trying anything that might wreck the whole server =(

Is someone able to guide me through this in plain English, PLEASE?
I'm almost ready to give up...
Gary Simat
QUOTE (Miss-NewYork)
Last Sunday I made the decision to move from shared hosting to a VPS. And I am already regretting it, because instead of the new possibilities I thought I would get I even have less.
I don't require any top-notch features, but apparently the server doesn't even have GD installed, which I need very much, and it runs with PHP 4.2.2, MySQL 3.23.

Since last Sunday I have learned what SSH is and how to use it - at least the basics. But I'm not able to upgrade PHP, and I looked through the posts on this board and through guides on other websites. There are so many terms I've never heard before, so I don't dare trying anything that might wreck the whole server =(

Is someone able to guide me through this in plain English, PLEASE?
I'm almost ready to give up...


depending which control panel is on your server it is generally easy, because you posted in the plesk forum im going to assume its plesk. All you really need to do is download the 4.x mysql rpms then do a rpm -Uvh *.rpm and that will bring you up to mysql 4.x
mladja04
QUOTE (Gary Simat)
depending which control panel is on your server it is generally easy, because  you posted in the plesk forum im going to assume its plesk. All you really need to do is download the 4.x mysql rpms then do a rpm -Uvh *.rpm  and that will bring you up to mysql 4.x


I have the same problem. I am total novice in this - first time I buy server for my site. I have Plesk panel, Php 4.3.2, MySql 3.23.58 and I want to upgrade PHP to last version 4.3.11, but I dont know how!!! I search in this forum, but I dont find concrete answer. Can anyone help me and tell me what I to do?
EvolutionCrazy
the simplest way to do that is with yum (on red hat enterprise 3es) with ART repo

more infos here:
http://www.atomicrocketturtle.com/modules....artid=18&page=1

QUOTE
wget http://www.atomicrocketturtle.com/atomic/a....art.noarch.rpm
rpm -ivh yum-2.0.7-1.rhel3.art.noarch.rpm


QUOTE
nano -w /etc/yum.conf


=> !!! comment out the channels present (#) !!! <=
make sure you disabled the channels present in the default config


and add:
QUOTE
[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/art/$releasever/

[psa-7.5]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/psa-7.5/$releasever/


than if you run

QUOTE
yum update php


it should update php safely...

but take care when you update... do a complete backup first...

big care also before running
QUOTE
yum update mysql

the mysql update is the most "critical" for plesk icon_biggrin.gif

i don't suggest to use the base os repo etc... they are based to centOS rpms... and not official red hat icon_wink.gif

i also do not suggest to update the httpd present in the atomic channel... it is centOS rpm and is a little different respect to the red hat one... it also change something in the config (like domain without www redirected to domain/cgi-bin/redirect.cgi)

another thing that i do not suggest to update using yum with plesk is the spamassassin... the 3.0.3 version in the atomic channel didn't worked for me... (not able to start it... it return a strange error..)
mladja04
Hello,
I have Apache 2.0.46, RH Enterprise linux rel3, PHP 4.3.2, MYSQL 3.23.58 etc, and I am novice in all this. I now want to upgrade php and mysql and I find several posts in forum on which way I can to do that. The best is (what I see what forum users write) that I use YUM - atomicrocketturtle.com tools.
I now want to know, before I start to upgrade this, do this tool is ok to upgrade and do I can on some way to make some backup, if something is wrong after upgrade that I can to restore that backup and that all will be OK?

Thank you for help, Mladen...
mladja04
Do anybody can to help me?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.