Hi,

I have a problem with php version 5.6 installed by custombuild 2.0.

When i run the file:

PHP Code:
$mbox = @imap_open("{imap.gmail.com:993/imap/ssl}INBOX"$mail_username$mail_password);
if(!
$mbox
{
    echo 
'Caught exception: ',  imap_last_error(), "\n";
}
else
{
    
$mailboxheaders imap_headers($mbox);
    
imap_close($mbox);        

I get error ERR_EMPTY_RESPONSE
Apache error log file is empty

Has anyone any idea how to solve the problem??

configure.php56
Code:
#!/bin/sh
./configure \
        --with-apxs2 \
        --with-config-file-scan-dir=/usr/local/lib/php.conf.d \
        --with-curl=/usr/local/lib \
        --with-gd \
        --enable-gd-native-ttf \
        --with-gettext \
        --with-jpeg-dir=/usr/local/lib \
        --with-freetype-dir=/usr/local/lib \
        --with-libxml-dir=/usr/local/lib \
        --with-openssl \
        --with-kerberos \
        --with-mcrypt \
        --with-mhash \
        --with-mysql=mysqlnd \
        --with-mysql-sock=/usr/local/mysql/data/mysql.sock \
        --with-mysqli=mysqlnd \
        --with-pcre-regex=/usr/local \
        --with-pdo-mysql=mysqlnd \
        --with-imap-ssl=/usr/local/imap-2007f \
        --with-imap=/usr/local/imap-2007f \
        --with-pear \
        --with-png-dir=/usr/local/lib \
        --with-xsl \
        --with-zlib \
        --with-zlib-dir=/usr/local/lib \
        --enable-zip \
        --with-iconv=/usr/local \
        --enable-bcmath \
        --enable-calendar \
        --enable-ftp \
        --enable-sockets \
        --enable-soap \
        --enable-mbstring \
        --with-icu-dir=/usr/local/