[CentOS] Compiling PHP and MySQL

Athmane Madjoudj athmane at fedoraproject.org
Mon Jun 13 17:10:48 UTC 2011


On 06/13/2011 06:04 PM, Athmane Madjoudj wrote:
> On 06/13/2011 05:59 PM, Dvorkin, Asya wrote:
>> Hi everyone,
>>
>> I need to install an older version of PHP - 5.2.16, which is not
>> currently available through an official CentOS repo (as far as I can
>> tell).
>>
>> In order to fulfill our developer's requirements, I've decided to just
>> compile PHP and MySql from the source.
>>
>> Is there a way to find out what are the usual configure options that
>> are used to compile binaries that are available through yum?
>>
>
> CentOS testing[1][2] repo (for C5) has php-5.2.3 to php-5.2.10, also
> CentOS 5.6 has php-5.3.x
>
> [1] http://dev.centos.org/centos/5/CentOS-Testing.repo
> [2] http://dev.centos.org/centos/5/testing/i386/RPMS/
>
> HTH

Be aware php-5.2.x in testing is old and has some security issues, you 
should consider using php53 from CentOS repo (5.6+) or php52 form IUS 
Community repo [1]

[1] http://iuscommunity.org/Repos

-- 
Athmane Madjoudj



More information about the CentOS mailing list