[CentOS] Compiling PHP and MySQL

Mon Jun 13 17:47:31 UTC 2011
Dvorkin, Asya <dvorkias at umdnj.edu>

On Jun 13, 2011, at 1:26 PM, Eero Volotinen wrote:

2011/6/13 Dvorkin, Asya <dvorkias at umdnj.edu<mailto:dvorkias at umdnj.edu>>:

On Jun 13, 2011, at 1:09 PM, Eero Volotinen wrote:

2011/6/13 Dvorkin, Asya <dvorkias at umdnj.edu<mailto:dvorkias at umdnj.edu>>:

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?

iuscommunity* repo also provides latest php and mysql-server versions.

http://iuscommunity.org/

Thank you.  I've been to this website, but it
has php52-5.2.17-1.ius.el5.x86_64
I need 5.2.16....

why? Usually .17 works same way as 16. only minor bug/security fixes..


This is from CentOS website:


 *
IUS Community Repo - (See http://iuscommunity.org/ - http://lists.centos.org/pipermail/centos-docs/2009-November/003730.html )

'IUS is a new third party repo for RHEL that provides the "latest upstream versions of PHP, Python, MySQL". It is sponsored by internal work at Rackspace (but officially unsupported).' See their Wiki Client Usage Guide<http://wiki.iuscommunity.org/Doc/ClientUsageGuide>to install the ius-release package to configure the repo.

Caution is suggested in using this repo as it will replace core packages. See also their FAQ<http://iuscommunity.org/faq/> which frankly discusses pros and cons.

I am not sure if I want to use it in a production environment....

Asya

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110613/53712fe6/attachment-0004.html>