Package Blocking PHP-IMAP

I’m trying to recompile LSWS PHP5.6 with IMAP support but I keep getting configuration error of configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.
ERROR Could not configure PHP build

So I go and install all the packages needed for IMAP and PHP-IMAP but it doesn’t work. Then I find out I might just need these uw-imap and uw-imap-devel packages but when I try to install them I get…

–> Running transaction check
—> Package uw-imap.x86_64 0:2007f-4.el7.1 will be installed
–> Processing Dependency: xinetd for package: uw-imap-2007f-4.el7.1.x86_64
–> Running transaction check
—> Package xinetd.x86_64 2:2.3.15-13.el7 will be installed
–> Processing Conflict: courier-imap-2.1.2-134.rhe7x.iworx.x86_64 conflicts u
w-imap
–> Finished Dependency Resolution

So Interworx installed that and needs it. Not sure what to do next.

Hi Synthetisoft
I hope your well
Please can I ask if you installed LS as Licensecart install
Also, I believe you just need to add in php-imap, but from a quick search, youmay need to be specific over php-imap version, as in php56-imap, but this I think maybe specific to the distro your using for installing the file
I’m sorry, I do not use LS, so I cannot test as I would like
I hope that helps a little
Many thanks
John
To compile LsPHP to match the PHP on the server you need to use one of the following commands listed below, this is because we don’t have a InterWorx Plugin like some control panels yet.
CentOS 5: rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el5.noarch.rpm CentOS 6: rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el6.noarch.rpm CentOS 7: rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm
Then the correct PHP version (PHP 5.4 is end of life):
PHP 5.5:
yum install lsphp55-* --skip-broken
PHP 5.6:
yum install lsphp56-* --skip-broken
Source: https://licensecart.com/plugin/support_manager/knowledgebase/view/409/compile-lsphp-on-interworx/9/