Re: [CentOS] PHP Extensions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 8 Jun 2006, Charles Lacroix wrote:

Rebuild the php rpm with your changes and redo that operation on every updates

Is it too complicated? How do I rebuild the php rpm? I've installed php with yum..so no rpm is available.

It's not hard to do.

Just get the rpm source froma mirror and install it.

- mkdir -p /usr/src/redhat/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
- rpm -ihv php-4.x.x-src.rpm
- cd /usr/src/redhat/SPECS
- edit php.spec to add the --with-informix or whatever compilation flag you
need.

You might consider adding some flotsam to the end of the Release tag (typically defined near the top of the spec file) so rpm recognizes the new rpms as upgrades.

The current release is, I believe,

  Version : 4.3.9
  Release : 3.12

You might consider making your locally built to be Release "3.12.local" or something like that. If you use the same appendix for all locally rebuilt packages, it's easy to spot them in an "rpm -qa" list.

--
Paul Heinlein <> heinlein@xxxxxxxxxx <> www.madboa.com
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux