Hello
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 ? or I should 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.
Thanks
On 6/23/07, centos centos@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?
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 again. like runing rpmrebuild and just add those options that i need.
Thanks
Jim Perrin wrote:
On 6/23/07, centos centos@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?
On 6/25/07, Centos centos@unixplanet.biz wrote:
php was compiled on server, by running ./configure but now I want to find an easy way to upgrade php, without compiling it again. like runing rpmrebuild and just add those options that i need.
RPM won't help you with this. The only way you could use it to solve this issue would be to remove your existing php install, then build the php rpm the way you want (assuming the stock php doesn't work for you)
You could use the PHP SPEC file to build your own rpm with your own options, this way you can keep the version changes of the package within th package manager (RPM).
On 6/25/07, Jim Perrin jperrin@gmail.com wrote:
On 6/25/07, Centos centos@unixplanet.biz wrote:
php was compiled on server, by running ./configure but now I want to find an easy way to upgrade php, without compiling it again. like runing rpmrebuild and just add those options that i need.
RPM won't help you with this. The only way you could use it to solve this issue would be to remove your existing php install, then build the php rpm the way you want (assuming the stock php doesn't work for you)
-- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thank you Carlos,
RPM spec file was the solution that I was looking for.
Carlos Daniel Ruvalcaba Valenzuela wrote:
You could use the PHP SPEC file to build your own rpm with your own options, this way you can keep the version changes of the package within th package manager (RPM).
On 6/25/07, Jim Perrin jperrin@gmail.com wrote:
On 6/25/07, Centos centos@unixplanet.biz wrote:
php was compiled on server, by running ./configure but now I want to find an easy way to upgrade php, without
compiling it
again. like runing rpmrebuild and just add those options that i need.
RPM won't help you with this. The only way you could use it to solve this issue would be to remove your existing php install, then build the php rpm the way you want (assuming the stock php doesn't work for you)
-- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos