[PLUG] Updating PHP in RedHat 7.3

Ian Burrell ian at znark.com
Mon Sep 8 23:38:02 UTC 2003


Evan Heidtmann wrote:
> 
> So I looked at the manpage, and tried this:
> 
> [root at adnap root]# apt-get install php=4.3.2-7
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Version '4.3.2-7' for 'php' was not found
> [root at adnap root]# apt-get install php=4.3.2
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Version '4.3.2' for 'php' was not found
> [root at adnap root]# apt-get install php=4.3
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Version '4.3' for 'php' was not found
> [root at adnap root]#
> 
> No luck with that either.  I'm looking at 'dist-upgrade' in the 
> manpages.  Is that what I need to try next?
 >

You would need to find a repository containing the new version.  The 
default /etc/apt/sources.list contains the RedHat 7.3 distribution and 
updates.  That has an older version.  There are some good apt-enabled 
repositories out there but none of them contain php.

Did you try looking on rpm.pbone.net and rpmfind.net?  A brief search 
showed a couple of packages for RH8 and 9.  The package you had before 
looked like it was built against one of those.  Getting all the 
dependencies to install will be equivalent to upgrading the machine to 
RH 8/9.  I did see a php-4.3.1-1 in the RedHat contrib section that 
looks like it is compatible with RH 7.3.  Using that as a basis for 
building 4.3.2 or 4.3.3 may work well.

  - Ian

-- 
ian at znark.com
http://www.znark.com/





More information about the PLUG mailing list