Join the community today
Register Now

PHP-FPM PHP 8.4.10 Mcrypt

Discussion in 'Beta release code' started by duderuud, Jul 4, 2025.

  1. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    11:24 AM
    1.29 x
    11.4
    Please fill in any relevant information that applies to you:
    • CentOS Version: Alma 9.6
    • Centmin Mod Version Installed: 140.00beta01
    • Nginx Version Installed: 1.29
    • PHP Version Installed: 8.4.10
    • MariaDB MySQL Version Installed: 10.6
    • When was last time updated Centmin Mod code base ? : just now
    Updated PHP to 8.4.10 on some servers.

    After updating, a php -v gives the following output:
    Code (Text):
    PHP Warning:  PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20240924/mcrypt.so (/usr/local/lib/php/extensions/no-debug-non-zts-20240924/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20240924/mcrypt.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20240924/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    PHP 8.4.10 (cli) (built: Jul  3 2025 17:46:09) (NTS)
    Copyright (c) The PHP Group
    Zend Engine v4.4.10, Copyright (c) Zend Technologies
        with Zend OPcache v8.4.10, Copyright (c), by Zend Technologies
    

    Not sure why mcrypt is missing though. Deprecated?

     
  2. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:24 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  3. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    11:24 AM
    1.29 x
    11.4
    For some reason the error went away (without doing anything), really weird.
     
  4. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    11:24 AM
    1.29 x
    11.4
  5. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    11:24 AM
    1.29 x
    11.4
    Reinstalling PHP 8.4.11 (menu option 5) results in the same error.
     
  6. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    11:24 AM
    1.29 x
    11.4
    Reinstalled the server and ran the betainstaller83.sh installer instead. That worked fine.

    After installing CMM I ran the menu item 5 again and upgraded to PHP 8.4.11 and that also worked.
     
  7. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:24 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    That's interesting. Server specs for ones having issues?
     
  8. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    11:24 AM
    1.29 x
    11.4
    Proxmox VM on a Hetzner server
     
  9. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:24 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    K. Looks like mcrypt 1.0.9 was released for PHP 8.4/8.5 PECL :: mcrypt Changelog
    so run cmupdate to grab latest Centmin Mod updates, re-run centmin.sh menu option 5
     
  10. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    11:24 AM
    1.29 x
    11.4
    That package was released on 2025-08-05 so that shouldn't be the problem...
     
  11. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:24 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Centmin Mod used mcrypt 1.0.4 heh. Recent update fix updates to mcrypt 1.0.9 for 140.00beta01 and mcrypt 1.0.7 for 131.00stable/132.00stable