Re: Best way to get PHP5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris W. Parker wrote:
> Hello,
> 
> Generally (well, actually 100%) I just use whatever version of PHP is
> included with a certain distro (Redhat pre-Fedora, Fedora Core, CentOS).
> None of the versions I've used have come with PHP5 and I'd really like
> to get with the times and use PHP5.
> 
> I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative
> things about it in general (FC5).
> 
> I've never compiled PHP myself so admittedly I'm a bit skeered... Is the
> recommended path to just go with whatever distro I prefer and then
> download PHP5 from php.net and install it myself?
> 

Virtually all distros should have php5 as an option these days.  Though
frequently it's named php5 rather than simply php.  Debian, and probably
several other distributions, only offer it in their testing branch.

As a general rule I would recomend not installing from source, you can
seriously damage your system with multiple versions of programs, files
going in places they shouldn't and running in to dependancy hell.  The
distributions that I am familiar with provide packages for the php
extensions so you don't have to recompile to add them.

IF you do install from source, using your package management system to
grab the source dependancies can simplify things significantly.  On a
Debian based distribution this can be done with `apt-get build-dep php5`.


David

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux