Learn about Centmin Mod LEMP Stack today
Register Now

PHP Imap - WHMCS

Discussion in 'Other Web Apps usage' started by aaran p, Apr 29, 2017.

  1. aaran p

    aaran p New Member

    23
    9
    3
    Nov 24, 2016
    Ratings:
    +9
    Local Time:
    5:01 PM
    Hi,

    So I use WHMCS for my business and I need to pipe replies to tickets as you can find information on here:

    Email Piping - WHMCS Documentation

    How can I get IMAP working, please?

    Any help is much appreciated

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,884
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:01 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    IMAP php extension is already installed by default

    You can easily check which the php extensions are loaded by php-fpm on Centmin Mod via these methods

    1. phpinfo page outlined at
    2. ssh commands

    list all php extensions
    Code (Text):
    php -m
    


    Code (Text):
    php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    ldap
    libxml
    mailparse
    mbstring
    mcrypt
    memcache
    memcached
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    redis
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
    


    list specific extensions info using previous command's output names

    i.e. for imap extension
    Code (Text):
    php --ri imap
    
    imap
    
    IMAP c-Client Version => 2007f
    SSL Support => enabled
    Kerberos Support => enabled
    

    for memcached
    Code (Text):
    php --ri memcached
    
    memcached
    
    memcached support => enabled
    Version => 3.0.0b1
    libmemcached version => 1.0.16
    SASL support => yes
    Session support => yes
    igbinary support => no
    json support => yes
    msgpack support => no
    
    Directive => Local Value => Master Value
    memcached.sess_locking => 1 => 1
    memcached.sess_lock_wait_min => 1000 => 1000
    memcached.sess_lock_wait_max => 2000 => 2000
    memcached.sess_lock_retries => 5 => 5
    memcached.sess_lock_expire => 0 => 0
    memcached.sess_binary_protocol => 1 => 1
    memcached.sess_consistent_hash => 0 => 0
    memcached.sess_number_of_replicas => 0 => 0
    memcached.sess_randomize_replica_read => 0 => 0
    memcached.sess_remove_failed_servers => 0 => 0
    memcached.sess_server_failure_limit => 0 => 0
    memcached.sess_connect_timeout => 3000 => 3000
    memcached.sess_sasl_username => no value => no value
    memcached.sess_sasl_password => no value => no value
    memcached.sess_prefix => memc.sess. => memc.sess.
    memcached.sess_persistent => 0 => 0
    memcached.sess_lock_wait => not set => not set
    memcached.sess_lock_max_wait => not set => not set
    memcached.compression_type => fastlz => fastlz
    memcached.compression_factor => 1.3 => 1.3
    memcached.compression_threshold => 2000 => 2000
    memcached.serializer => php => php
    memcached.store_retry_count => 2 => 2
    memcached.default_consistent_hash => 0 => 0
    memcached.default_binary_protocol => 0 => 0
    memcached.default_connect_timeout => 0 => 0
    
     
  3. aaran p

    aaran p New Member

    23
    9
    3
    Nov 24, 2016
    Ratings:
    +9
    Local Time:
    5:01 PM
    Thanks a lot for the answer seems it's a whmcs error then, Now the fun begins where I have to "try" contact them aha