On 2025-07-21 00:51, Alex wrote:
Hi,

Hi!

I have an application that requires php-imap. I've been using packages
from the remi repo for a while, but since upgrading to fedora42, it no
longer works. I'm using php-8.4.10-1.fc42.x86_64 as part of fedora42.

If you install Remi packages, you want to make sure that you use either
those packages, or your system packages.

You can have different versions installed, but don't mix-and-match them.

The Remi version of php84 on my system is:

php84-8.4-2.fc42.remi.src.rpm

(notice the "remi" in the package name)

Did you follow the Wizard on Remi's website to configure PHP correctly,
either with RemiRepo as the sole version of PHP, or to have several
versions installed next to each other, but only using a particular one
for each purpose?

See: https://rpms.remirepo.net/wizard/

However, when running "php -m" to list installed modules, it appears
there's a version conflict of some sort.

Warning: PHP Startup: imap: Unable to initialize module
Module compiled with module API=20230831
PHP    compiled with module API=20240924
These options need to match
 in Unknown on line 0

Probably because you are trying to run Fedora's php84, with Remi's
php84-php-pecl-imap.

Thanks,
Alex

I hope this helps!

Cheers,
Edmund



[0]: https://github.com/remicollet/remirepo/issues


--
Edmund Lodewijks <edm...@proteamail.com>
Gqeberha (Port Elizabeth), South Africa - PGP: 6812 9977 F901 B4BF 1272

Attachment: 0xB4BF1272.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to