This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

Paul's Time Sink

| Main | Albums |

« | »

Updating modified php install

Paul Westbrook | 25 July, 2004 11:29

There is a new update to php. yum offered to install the update for me, but I couldn't do it since I modified my php installation. I compiled php with mcrypt, so I could use encryption with Maia Mailguard

These are the steps that I use to update php

  1. Download the source rpm from Red Hat
  2. rpm -Uvh php-*.src.rpm
  3. cd /usr/src/redhat/SPECS/
  4. edit php.spec to include "--with-mcrypt "
  5. rpmbuild -ba php.spec
  6. cd /usr/src/redhat/RPMS/i386
  7. rpm -Uvh php*.rpm
  8. restart apache
It would great if yum could be updated so that it would compare the spec file for what was installed to the update. If the spec files is different, yum would download the source rpm, make the changes to the spec file, and then build and install the source rpm.

Add comment

Topic

Text

Your name

Your email address

Your personal page (if any)




Powered by LifeType
Design by Book of Styles