Unable to load dynamic library 'imap.so
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.
Hello,
I get this error when trying to install software using Composer. When I disable the IMAP extension from php selector, the command is working.
How to fix this?
-
Hey there! I can't say for sure why that module wouldn't be loaded properly when it is installed on the server. If you create a PHP info page (https://support.cpanel.net/hc/en-us/articles/360052760494-How-to-use-a-PHPInfo-file-for-troubleshooting-PHP-issues) do you see IMAP listed there?
0
Please sign in to leave a comment.
Comments
1 comment