Solved

Upgrading PHP from 4.2.2-17.2 to 4.3.5

Posted on 2004-04-13
6
295 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

828 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