Gm,
Roundcube 0.9.5 - remote mysql server - remote imap / smtp server
Step 1: all is OK
Checking PHP version
Version: OK(PHP 5.3.3 detected)
Checking PHP extensions
The following modules/extensions are required to run Roundcube:
PCRE: OK
DOM: OK
Session: OK
XML: OK
JSON: OK
PDO: OK
The next couple of extensions are optional and recommended to get the best performance:
FileInfo: OK
Libiconv: OK
Multibyte: OK
OpenSSL: OK
Mcrypt: OK
Intl: OK
Exif: OK
Checking available databases
Check which of the supported extensions are installed. At least one of them is required.
MySQL: OK
PostgreSQL: NOT AVAILABLE(See
http://www.php.net/manual/en/ref.pdo-pgsql.php)
SQLite: OK
SQLite (v2): NOT AVAILABLE(See
http://www.php.net/manual/en/ref.pdo-sqlite.php)
SQL Server (SQLSRV): NOT AVAILABLE(See
http://www.php.net/manual/en/ref.pdo-sqlsrv.php)
SQL Server (DBLIB): NOT AVAILABLE(See
http://www.php.net/manual/en/ref.pdo-dblib.php)
Check for required 3rd party libs
This also checks if the include path is set correctly.
PEAR: OK
Net_SMTP: OK
Net_IDNA2: OK
Mail_mime: OK
Checking php.ini/.htaccess settings
The following settings are required to run Roundcube:
file_uploads: OK
session.auto_start: OK
zend.ze1_compatibility_mode: OK
mbstring.func_overload: OK
suhosin.session.encrypt: OK
magic_quotes_runtime: OK
magic_quotes_sybase: OK
The following settings are optional and recommended:
allow_url_fopen: OK
date.timezone: OK
register_globals: OK
Step 3: I have a pb during the installer process at the step3. (I replaced the name of my servers by a generic value for this topic)
Check config files
main.inc.php: OK
db.inc.php: OK
Check if directories are writable
Roundcube may need to write/save files into these directories
temp/: OK
logs/: OK
NOT OK - Can't connect mysql database
DSN (write): NOT OK(SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'mysqlserver.domain.tld' (13))
DSN: mysql://roundcube:password@mysqlserver.domain.tld/roundcube
NOT OK - Test SMTP config
SMTP send: NOT OK(Connection failed: Failed to connect socket: Permission denied)
NOT OK - Test IMAP config
IMAP connect: NOT OK(Login failed for myserver.mydomain.tld from 172.XX.YY.ZZ. Could not connect to ssl://imapserver.domain.tld:993: Permission denied)
NEVERTHELESS !!!From my roundcube server by ssh , i can connect to my remote mysql server with the roundcube account and the grants are OK.
+----------------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'roundcube'@'172.XX.YY.ZZ' IDENTIFIED BY PASSWORD '*59LHGLLFURJKHFUDYSILTOITGLGOITFLJC9' |
| GRANT ALL PRIVILEGES ON `roundcube`.* TO 'roundcube'@'172.XX.YY.ZZ' |
+----------------------------------------------------------------------------------------------------------------------+
From my roundcube server by ssh, i can connect to my smtp server via telnet on port 25 or 587 and send an email
From my roundcube server by ssh, i can connect to my imap server via telnet on port 143 or 993
There are not any firewall between servers and iptables is desabled on each server.
The pb seems only exist from the web page of the installer, i maybe missing something in the apache conf ?
<VirtualHost *:80>
ServerAdmin admin@mydomain.tld
DocumentRoot /var/www/html/roundcube
ServerName roundcube.mydomain.tld
ErrorLog /var/log/httpd/webmail.error-log
CustomLog /var/log/httpd/webmail.access-log combined
<Directory /var/www/html/roundcube/>
Options Indexes FollowSymLinks
DirectoryIndex index.php
AllowOverride All
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Please, need helpBest regards