• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

Upgrading PHP from 4.2.2-17.2 to 4.3.5

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
Cerixus
Asked:
Cerixus
  • 4
  • 2
1 Solution
 
paullamhkgCommented:
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
 
paullamhkgCommented:
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
 
CerixusAuthor Commented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
CerixusAuthor Commented:
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
 
paullamhkgCommented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now