Datasheet

P1: KTX
WY027-01 WY027-Mercer WY027-v2.cls June 5, 2004 0:44
Getting Up and Running
have an RPM for PHP5, so well provide the instructions for getting and installing the RPM for PHP4
here, and then show how to download and compile PHP5 for Fedora later. By the time you read this, in
all likelihood there will be an RPM available for PHP5 for your Linux distribution, so the RPM
installation presented here should provide good guidance for installing PHP5 via the RPM method.
A number of popular Linux distributions use the Red Hat Package Manager, including Red Hat, SuSE,
Mandrake, Denite, TurboLinux, Caldera, and Yellow Dog. If your system uses an alternative package
management system, such as Debians deb packages, refer to your distributions manual for installation
instructions.
Obtaining RPMs
The best place to get RPMs is almost always the disks from which you installed your Linux system. Red
Hat 7 and SuSE 7 both include PHP4 (although it isnt installed by default)by the time you read this,
the same should be true of most current Linux distribution versions.
If your distribution doesnt include PHP4, or it doesnt include all the required functionality or support
RPMs, then the next place to check is your Linux distribution vendors Web site, which should have a
download area or FTP site from which you can obtain the latest RPMs.
Finally, www.rpmfind.net provides a comprehensive search service for RPMs. When you download
RPMs, though, make certain that they are compatible with your Linux distribution and your computer
hardware. Different distributions put important les in different places, and this can lead to RPMs from
different vendors not working on other systems. Most RPMs are available compiled to run on the
different hardware systems that Linux supports. The following table shows the most common
abbreviations used in RPM names (you need the abbreviation to search on the rpmnd site):
Abbreviation Compatible with
i386 PCs based on Intel and 100% compatible processors: Intel 80386, 486,
Pentium, Pentium II, Pentium III, and Celeron; AMD 5x86, K-series, and
Athlon; and Cyrix 6x86
i586 PCs based on Intel Pentium and 100% compatible processors: Intel Pentium
II, III, and Celeron; AMD K-Series and Athlon; and Cyrix 6x86
PPC Computers built around Motorola PowerPC (and compatible) chips, such
as Apples Power Macs, G3s, G4s, and iMacs. You can still only use the
RPMs on Macintosh hardware with Linux installed, though
alpha Servers and workstations running the Compaq Digital 64-bit Alpha
processor
sparc Servers and workstations running the processors which use the 64-bit
SPARC architecture, such as Sun MicrosystemsUltraSPARC
m68k Computers built around Motorolas older 68000 series processors, such as
Amigas, and older Apple Macintoshes, for which various Linux ports exist
Refer to your distributions manual if you want to use the graphical installation tools that come with your
specic distribution. These differ widely, so they cant all be covered here. However, any RPM-based
7