Solved

Upgrading PHP from 4.2.2-17.2 to 4.3.5

Posted on 2004-04-13
6
294 Views
Last Modified: 2013-12-15
Okay, I knew I was a linux newb, but this is giving me fits.  I can't even find any simple instructions on upgrading PHP anywhere on the web.  They all assume you know something about working with linux binaries (How foolish of them (c:  ).

What I need is an IDIOTS guide to upgrading PHP.  I don't want any assumptions.  I want step-by-step "This will upgrade PHP" instructions.

The server is running Redhat 9.
0
Comment
Question by:Cerixus
  • 4
  • 2
6 Comments
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10820740
actually the php with RH 9.0 is installed by rpm so that you can using the rpm to upgrade the PHP

get the 4.3.5 rpm and run 'rpm -Uvh php-4.3.5.rpm' should do.
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10820914
or you can upgrade the php by hand, that's login as root and do the './config' to config the setting, after that run 'make' to make the file and run 'make install' to do the installation. you can read this as reference http://www.brtnet.org/linux/lamp.htm

which is what we called using the source code to install the most updated into your system, after you download the tarball you have to untar and un zip by running as below

tar zxvf php-4.3.5.tar.gz

which will create a directory called 'php-4.3.5' and inside this directory you have all your necessary file, there has a file called 'INSTALL' you can use 'more INSTALL' to read the installation instruction, and follow the step may help.

but this will bring up 2 veriosn of php in the linux box.
0
 
LVL 1

Author Comment

by:Cerixus
ID: 10842310
I like using RPMs (due to my lack of knowledge).  I have had successfull installations and upgrades of other apps using RPMs.  However, I had a hard time even finding an RPM for the new version of PHP.  I think I found one but it was some third party package that I was leery of (again, probably due to my lack of knowledge).

Could someone toss me a link to the 4.3.5 RPM please? (If the link starts with http://www.php.net I think I'll just kill myself).

;)
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 12

Accepted Solution

by:
paullamhkg earned 500 total points
ID: 10885059
0
 
LVL 1

Author Comment

by:Cerixus
ID: 10885771
lol

Thanks for adding that last line for humiliation.  I did exhaustive searches on Google (Google is my friend).  Apparently though, I just don't know exactly what to search for. (One would think "PHP 4.3.5 RPM download" would suffice...)

Nonetheless, I'm awarding you the points.  Thanks for all the info.
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10885862
try simplier way search "php 4.3.5 rpm", I found while searching in Google, the simplier the more answers/solution you get :)
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question