Solved

Upgrading PHP from 4.2.2-17.2 to 4.3.5

Posted on 2004-04-13
6
292 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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now