After I go to installer step 3 (check configuration) I get "The connection was reset" in browser. roundcube error log says [02-Jun-2016 08:09:00 UTC] PHP Warning: finfo_file(): Failed identify data 0:invalid type 0 in mconvert()application/ octet-stream; charset=binary in /var/www/localhost/htdocs/roundcube/program/lib/Roundcube/rcube_mime.php on line 721 Tried both php-5.5 and php-5.6, same result [ebuild R ] mail-client/roundcube-1.2.0:1.2.0::gentoo USE="mysql sqlite ssl vhosts -enigma -ldap -managesieve -postgres -spell" 0 KiB [ebuild R ] dev-lang/php-5.5.35:5.5::gentoo USE="apache2 berkdb bzip2 cli crypt ctype exif fileinfo filter fpm ftp gd gdbm hash iconv imap ipv6 json mysql mysqli nls opcache pdo posix readline session simplexml snmp sockets sqlite ssl tokenizer truetype unicode xml zip zlib -bcmath -calendar -cdb -cgi -cjk -curl -debug -embed -enchant (-firebird) -flatfile -frontbase -gmp -inifile -intl -iodbc -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -oci8-instant-client -odbc -pcntl -phar -postgres -qdbm -recode (-selinux) -sharedmem -soap -spell -sybase-ct -systemd -sysvipc -threads -tidy -vpx -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xslt" 0 KiB [ebuild R ] dev-lang/php-5.6.21:5.6::gentoo USE="apache2 berkdb bzip2 cli crypt ctype exif fileinfo filter fpm ftp gd gdbm hash iconv imap ipv6 json mysql mysqli nls opcache pdo posix readline session simplexml snmp sockets sqlite ssl tokenizer truetype unicode xml zip zlib -bcmath -calendar -cdb -cgi -cjk -curl -debug -embed -enchant (-firebird) -flatfile -frontbase -gmp -inifile -intl -iodbc -kerberos -ldap -ldap-sasl -libedit -libmysqlclient (-libressl) -mhash -mssql -oci8-instant-client -odbc -pcntl -phar -postgres -qdbm -recode (-selinux) -sharedmem -soap -spell -sybase-ct -systemd -sysvipc -threads -tidy -vpx -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xslt" 0 KiB [ebuild R ] www-servers/apache-2.2.31:2::gentoo USE="ssl -debug -doc -ldap (-libressl) (-selinux) -static -suexec -threads" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta cgi cgid charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation proxy rewrite setenvif speling status substitute unique_id userdir usertrack version vhost_alias -ident -imagemap -log_forensic -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -proxy_scgi -reqtimeout" APACHE2_MPMS="itk -event -peruser -prefork -worker" 0 KiB Do I have something misconfigured? Error message is useless in this case...
Huh, that shouldn't happen. That section is wrapped within a feature check: if ...function_exists('finfo_open')...[else skip this bit]. I don't know PHP well enough to really help toubleshoot, but the only hint I've been able to find relates to an extension not being uncommented in php.ini. Try enabling the following line in your php.ini: extension=php_fileinfo.dll Nota bene, that line is commented in my php.ini, and I am not having this problem.
I've tried to comment out an if block where fileinfo extension is used, it didn't help. So it was just a PHP warning but it doesn't work by some other reason... Apache error log says [Sun Jun 05 08:20:00 2016] [error] child died with signal 11 and nothing else..
After some experiments with php-fpm+nginx instead of apache, and temp session data cleanup due to permission mismatch, it started to work normally. Magic...
(In reply to Semen Panevin from comment #3) > After some experiments with php-fpm+nginx instead of apache, and temp > session data cleanup due to permission mismatch, it started to work > normally. Magic... This indicates the issue isn't with Roundcube itself, but with your configuration in Apache or PHP. You may reopen this big when you're able to determine the underlying cause.