I see that there are a plethora of php extensions available as rpms, from the centos repositories, but not the php-mcrypt extension. I'm trying to stick to an rpm-only system and haven't found one that provides this, yet, for my 4.4 system. Is there any plan to add this to the repository in the near future (if at all)? Does anyone know where I can get it, otherwise? I see there is one for FC4. Perhaps I can do a --rebuild on it? -- -ste
On 11/8/06, Shaun T. Erickson <sterickson at gmail.com> wrote:> I see that there are a plethora of php extensions available as rpms, > from the centos repositories, but not the php-mcrypt extension. I'm > trying to stick to an rpm-only system and haven't found one that > provides this, yet, for my 4.4 system.http://phprpms.sourceforge.net/ This requires rpmforge/dag.wieers.com repositories to be enabled so that libmcrypt can be installed. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell
Shaun T. Erickson wrote:> I see that there are a plethora of php extensions available as rpms, > from the centos repositories, but not the php-mcrypt extension. I'm > trying to stick to an rpm-only system and haven't found one that > provides this, yet, for my 4.4 system. > > Is there any plan to add this to the repository in the near future (if > at all)? Does anyone know where I can get it, otherwise? I see there > is one for FC4. Perhaps I can do a --rebuild on it?Get SRPM for PHP. Edit the php.spec file and add subpackages for any extensions you might want, and rebuild using that spec file. The php.spec file is nicely organized. What you need to change is the configure command (add extensions you want), and define new subpackages for your extensions (copy&paste definitions for existing subpackages and change names). It's fairly trivial. If you have problems with editing it, let me know and I could send you the php.spec file I'm using (that has mcrypt extension enabled among other things). BTW, once you have "custom" PHP subpackage installed (for example php-mcrypt), you'll have to rebuild it by hand every time there is a security update. The dependencies will prevent automatic upgrade of main php package (php-* subpackages always depend on exactly the same version of main php package). There's an update for PHP coming (Red Hat already released it for RHEL4). You might want to wait for a day or two for CentOS to release it, and than rebuild. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20061108/63401c44/attachment-0002.sig>
On 11/8/06, Aleksandar Milivojevic <alex at milivojevic.org> wrote:> > Get SRPM for PHP. Edit the php.spec file and add subpackages for any > extensions you might want, and rebuild using that spec file. The > php.spec file is nicely organized. What you need to change is the > configure command (add extensions you want), and define new subpackages > for your extensions (copy&paste definitions for existing subpackages and > change names). It's fairly trivial.Ok. I'll do that.> BTW, once you have "custom" PHP subpackage installed (for example > php-mcrypt), you'll have to rebuild it by hand every time there is a > security update.This is one of the reasons why I was advocating for it to be built by the CentOS team and added to the repository along with the other subpackages. Not that I mind doing it, but then it would just 'be there', available to anyone who needed/wanted it. The particular reason I'm looking for it is that phpMyAdmin can use it. -ste -- -ste