Topic: PECL mcrypt for PHP 7.3

I could not make php-pecl-mcrypt-1.0.1-8.el7.remi.7.3.x86_64 work and I found out why.

Everything else was installed in /opt/remi/php.../modules/ but the mcrypt.so was in /usr/lib64/php.../modules/

I copied the file to the default extension modules dir (/opt...) and everything worked after that.

Re: PECL mcrypt for PHP 7.3

> Everything else was installed in /opt/remi/php.../modules/

which means you are using the Software Collection, php73-php* packages

> but the mcrypt.so was in /usr/lib64/php.../modules/

Which means you have installed the base package (php*)

See the FAQ

So you need php73-php-pecl-mcrypt instead of php-pecl-mcrypt

As explained by the Wizard

And about mcrypt, please read About libmcrypt and php-mcrypt

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: PECL mcrypt for PHP 7.3

Okay, thanks,

I had forgotten about that (having been running the full beta period and upgrading from the beta)

I actually tried

yum install php73-php-pecl-mcrypt

just to find out:

Warning: No matches found for: php73-php-pecl-mcrypt

Actually, a search now reveals this:

# yum search pecl-mcrypt
php-pecl-mcrypt.x86_64 : Bindings for the libmcrypt library
php72-php-pecl-mcrypt.x86_64 : Bindings for the libmcrypt library

So there does not seem to be an mcrypt alternative for PHP 7.3 available.

As for mcrypt I know the facts. My customers still use a few small legacy third-party applications that should need quite a bit of rewriting, having used mcrypt for almost ten years. Rewriting them by me is not possible and the same applies to apps using mysql_* functions. They will die when their time is due smile

But it works now, big thanks to you for maintaining the repos.

Re: PECL mcrypt for PHP 7.3

indeed, strangely missing in "remi-safe" (but present in "remi")

Fixed
https://rpms.remirepo.net/enterprise/7/ … crypt.html

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test