Description of problem: After install task-lamp, i have the following error in /var/log/www/httpd/error.log. I have the same error in visual code with extension php-debug which use /usr/bin/php PHP Warning: PHP Startup: mcrypt: Unable to initialize module Module compiled with module API=20210903 PHP compiled with module API=20220829 These options need to match in Unknown on line 0 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. execute /usr/bin/php in a terminal. 2. 3.
Thank you for this clear report. 'php-mcrypt' is done by MarcK, so assigning to you.
Assignee: bugsquad => mageia
Hi, I assume you have installed backported php 8.1 and tried to install php-mcrypt from core. I usally backport all relevant modules as well. Please also note, that mcrypt produces some warnings, as it is only added for compatibility. The mcrypt extension should not be used anymore.
So, try to install mcrypt from backport. It should fix your issue
Hello Marc I'm not sure I understand. I did a direct install via net installation to be under cauldron. I have no history or link to the mageia 8 branch. It is php 8.2 in RC. I don't see any new version in the backport cauldron branch...
oh, sorry - I didn't realize this was filed against cauldron. Strange; it should already be linked against php 8.2 - new version will be on the mirrors soon.
Status: NEW => RESOLVEDResolution: (none) => FIXED
Thank you Mark. The error message is gone.