Unable to load dynamic library 'imap.so error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • forwebsite2019
    Junior Member
    • Apr 2026
    • 1

    #1

    Unable to load dynamic library 'imap.so error


    HTML Code:
    Error
    PHP Warning: PHP Startup: Unable to load dynamic library 'imap.so' (tried: /opt/alt/php83/usr/lib64/php/modules/imap.so (libc-client.so.2007: cannot open shared object file: No such file or directory), /opt/alt/php83/usr/lib64/php/modules/imap.so.so (/opt/alt/php83/usr/lib64/php/modules/imap.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    In CreateProjectCommand.php line 369:

    Project directory "/home/name/f.domain.com/." is not empty.
    I get this error when trying to install software using Composer. When I disable the IMAP extension from php selector, the command is working.​​
  • bogdan.sh
    Administrator
    • Nov 2016
    • 1287

    #2
    Hello,

    Please check if such file exist, and if not install the alt-php83-imap package with:

    Code:
    dnf install alt-php83-imap

    I just checked a test server:
    # rpm -qf /opt/alt/php83/usr/lib64/php/modules/imap.so
    alt-php83-imap-8.3.30-6.el9.x86_64

    Comment

    Working...