Hey Justin Are you able to download the src rpm? Rpm -I php*.src.rpm Go to the directory that has the spec file Edit the spec file In the spec file you will find a section that will have all of the compile options (do a search for --with) then add --with-imap When added save the file then tryp in Rpmbuild -bb php*.rpm This will build and create you an rpm file and will store it in /usr/src/packages/RPMS in that directory just type in rpm -Uvh php*.rpm When you need to rebuild the server you will be able to use the same rpm (as long as you back it up) It is not necessarily good practice to build identical systems using apt or yum, the reason is if you need to rebuild the system in the near future the version on yum or apt may be different than the one you previously used Garrett Stoupe Network And Database Administrator WWW: http://www.te.co.nz WWW: http://www.carbuys.co.nz WWW: http://www.jobzone.co.nz -----Original Message----- From: aucklug-bounces at linux.net.nz [mailto:aucklug-bounces at linux.net.nz] On Behalf Of Justin Cook Sent: Monday, 19 June 2006 12:03 p.m. To: Auckland Linux User Group mailing list Subject: Re: [AuckLUG] Fedora core 4, php and imap Garrett Stoupe wrote: > What is stopping you to compile php from source with what ever you needed > compiled into it? > > I have been in a similar situation before and found out the easiest way was > to compile it via source > > > e.g. > > > ./configure --with-imap --with-apxs2=<path to apxs > > make > make install > > If using apache2 use --with-apxs2 > If using apache1 use --with-apxs > > More info at > http://www.php.net/ > > Regards > It makes it harder to rebuild an indentical system if anything goes wrong. It doesn't seem like a big deal but when you're counting downtime in the hours rather than days it makes quite a difference. The FC5 box is actually a virtual machine running under VMware, so none of that will be a concern soon. -- *Justin Cook* Developer http://www.skull.co.nz/ *Skype* justincookskull <skype:justincookskull?call> My status <skype:justincookskull?call> _______________________________________________ AuckLUG mailing list AuckLUG at linux.net.nz http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug
| More information about the AuckLUG mailing list |
If you have any questions or comments about this page, email the
Webmaster Design Copyright © 1998-2005 Linux.net.nz |