Free2Code
The majority of forums are now only available as archives, which means posting/editing is disabled.

The Anything and Everything forum is still open.
 
Time: 2013-05-21, 11:47pm
upgrading php4.0.6 to 4.3.3
Subject: upgrading php4.0.6 to 4.3.3  ·  Posted: 2003-09-11, 03:16am
Rank: Unregistered
hi guys Im a complete newbie to linux and have just installed redhat 7.2 on my machine and set up apache to host my web site. Im wanting to learn how to develop with php but im aware the version i have is very old. Can any body pls tell me how to upgrade this to the latest version. Ive spent hours trawling through search engines with no basic instructions just problems that have occurred!

regards

cubanallstar
manchester, uk
 
  Reply to this ·  Post link ·  Top
Subject: Re: upgrading php4.0.6 to 4.3.3  ·  Posted: 2003-09-11, 12:15pm
Rank: ? (862)
Member #: 2
It's fairly simple.. Firstly go to a site such as RPMFind.net and search for the application/software (PHP)

RedHat uses RPMs to install software, but unfortunatly they are usually out of date.

I upgrade using an RPM, download the RPM from rpmfind ( or another place ) and run:

rpm --upgrade <rpmfile>

so

rpm --upgrade php-???.rpm

Another way may be to use up2date, not sure if it works for PHP etc..?

From memory I think the command to run is:

up2date php

If all this fails, you can install from source, goto php.net and download the source. Check out the PHP documenation under 'installation' for installation instructions.

-Terminal
 
  Reply to this ·  Post link ·  Top
Subject: Re: upgrading php4.0.6 to 4.3.3  ·  Posted: 2003-09-11, 09:04pm
Rank: Unregistered
Ive downloaded the source from php.net to my home directory and ran the install from the instructions supplied. The files are all extracted and set up but I still have version 4.0.6 when i type php -v Do I need to delete the old php files and replace them with the new or could it be that the php 4.3.3 files are in the wrong place?
 
  Reply to this ·  Post link ·  Top
Subject: Re: upgrading php4.0.6 to 4.3.3  ·  Posted: 2003-09-12, 04:15am
Rank: Unregistered
:[ :[ :[ :[ :[ :[ :[ :[
 
  Reply to this ·  Post link ·  Top
Subject: Re: upgrading php4.0.6 to 4.3.3  ·  Posted: 2003-09-12, 04:16am
Rank: Unregistered

 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

Penguino AVR

Want to learn about robotics or microcontrollers?
Check out the Penguino AVR from our friends at
Icy Labs