Is there a "smarter" way of adding PHP modules than recompiling entire PHP SRPM package?
What I'm currently doing is taking PHP SRPM package, editing php.spec file, recompiling whole thing, and taking just the additional modules. Would speed up things considerably if it was possible to compile only the single module.
I noticed that modules that do come standard with Fedora are dependant on the exact PHP version. Is this simply packagers decision to force all modules to be upgraded when php package is upgraded (and I don't need to have this requirement in my php-modulename packages)? Or the modules are really dependant on PHP version and must be recompiled whenever basa PHP package is upgraded (and I should also have exact version requirement in my php-modulename packages)? I'd like to compile the module once (if possible), instead of recompiling it every time updated PHP package is out. Provided there were no security fixes for the module in question, which I need to track manaully anyhow since neither the modules nor libraries they need are part of Fedora (such as for example Sybase and Mcrypt modules).
Thanks to anybody who can enlighten me on this issues ;-)
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Am Mi, den 01.06.2005 schrieb alex@milivojevic.org um 18:07:
Is there a "smarter" way of adding PHP modules than recompiling entire PHP SRPM package?
What I'm currently doing is taking PHP SRPM package, editing php.spec file, recompiling whole thing, and taking just the additional modules. Would speed up things considerably if it was possible to compile only the single module.
I noticed that modules that do come standard with Fedora are dependant on the exact PHP version. Is this simply packagers decision to force all modules to be upgraded when php package is upgraded (and I don't need to have this requirement in my php-modulename packages)? Or the modules are really dependant on PHP version and must be recompiled whenever basa PHP package is upgraded (and I should also have exact version requirement in my php-modulename packages)? I'd like to compile the module once (if possible), instead of recompiling it every time updated PHP package is out. Provided there were no security fixes for the module in question, which I need to track manaully anyhow since neither the modules nor libraries they need are part of Fedora (such as for example Sybase and Mcrypt modules).
Please see
http://phprpms.sf.net/ http://dag.wieers.com/packages/ -> PHP packages
Alexander
Alexander Dalloz wrote:
Please see
http://phprpms.sf.net/ http://dag.wieers.com/packages/ -> PHP packages
Thanks for the links. However, unfortunately, they are not too usefull. Only handfull of PHP modules that I need are readily available in those (and some other) repositories. So, back to my original question. What to do when I need to build my own modules? Recompile entire PHP SRPM (time consuming)? Or is there a better way? What about dependecies? Do my modules need to depend on exact version (=), or can I simply specify minimum version (>=)?
I need to add oracle and a couple other modules to PHP and hope there is a way to not have to rebuild the PHP src RPM.
What is the procedure if I want to keep using FC4's PHP ?
TIA
-pete