[CentOS] rpmrebuild or rpmbuild question

Centos centos at unixplanet.biz
Mon Jun 25 19:07:47 UTC 2007

Hello Jim,

php was compiled on server, by running ./configure
but now I want to find an easy way to upgrade php, without compiling it 
like runing rpmrebuild and just add those options that i need.


Jim Perrin wrote:
> On 6/23/07, centos <centos at unixplanet.biz> wrote:
>> I have compiled php on a server, but want to upgrade and recompile it
>> with new features.
>> is rpmbuild or rpmrebuild capable of compiling or adding these new
>> features ?
> Your terms are confusing. Did you install php the first time via rpm?
> If so, that is not 'compiling'.  RPM does not modify code on the
> system, it either installs or replaces files. It is not used to alter
> build options.
>> download the source and run ./configure again ? what about yum ? it was
>> great if yum or
>> rpmbuild could save the current config and just add the new extensions.
> Still not sure what you're looking at or what you're attempting to do
> here. Could you please clarify what it is you're trying to do?

More information about the CentOS mailing list