[CentOS] PHP mcrypt

Mon Jun 6 17:51:36 UTC 2005
Maciej Żenczykowski <maze at cela.pl>

Thanks I got both mhash and mcrypt to work
(base from dag).

Maybe these (php-mhash/php-mcrypt) would be of some use in a repo?
(extras?) they're roughly 70kb.

Cheers,
MaZe.

On Mon, 6 Jun 2005, Alexander Dalloz wrote:

> Am Mo, den 06.06.2005 schrieb Maciej Żenczykowski um 15:35:
>
>> Could someone tell me how I'd go about compiling php with mcrypt support
>> from src.rpm?
>>
>> ie. configure -with-mcrypt[=DIR]
>>
>> Is it just a matter of calling
>> rpmbuild --rebuild src.rpm --with=mcrypt
>> ?
>
>> MaZe.
>
> First you need libmcrypt | libmcrypt-devel to be installed (available
> i.e. through Dag's repository). Then edit the php.spec file. Take the
> "mhash" configuration parts as examples which means that you can copy
> them and then exchange mhash with mcrypt. The rpmbuild prcess will then
> result in a php-mcrypt rpm (done that myself).
>
> Alexander
>
>
>