I needed to enable IMAP/IMAP-SSL. First, I installed the following packages...
Then ran:
Then compile with:
My phpinfo() now shows:
IMAP is still not working. I inserted the following code in a php file served by Litespeed:
Which returns: bool(false)
Code:
libc-client
uw-imap-devel
uw-imap-static
uw-imap-utils
ln -s /usr/lib64/libc-client.a /usr/lib/libc-client.a
Then compile with:
[I]'--with-imap=shared' '--with-imap-ssl' '--with-kerberos'
[/I]My phpinfo() now shows:
Code:
Configure Command
'./configure' '--prefix=/usr/local/lsws/lsphp5' '--with-mysqli' '--with-zlib' '--with-gd' '--with-freetype-dir=/usr/lib64' '--enable-shmop' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-mbstring' '--with-iconv' '--with-mysql' '--with-mcrypt' '--with-pdo' '--with-pdo-mysql' '--enable-ftp' '--enable-zip' '--with-curl' '--enable-soap' '--enable-xml' '--enable-json' '--with-openssl' '--enable-bcmath' '--with-litespeed' '--with-jpeg-dir=/usr/lib64' '--with-png-dir=/usr/lib64' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos'
Protocols
dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp
Module Authors
IMAP Rex Logan, Mark Musone, Brian Wang, Kaj-Michael Lang, Antoni Pamies Olive, Rasmus Lerdorf, Andrew Skalski, Chuck Hagenbuch, Daniel R Kalowsky
PHP:
<?php
echo var_dump(extension_loaded('imap-ssl'));
Last edited by a moderator: