/var/lib/roundcube- and then a copy made to /usr/share/roundcube/
- And the 3rd place. Configuration files are installed in /etc/roundcube. And it must be writable by the browser process for the installation to finish.
/etc/httpd/conf.d/roundcube. You need to edit this file for roundcube to be accessible for installation.
/etc/roundcube/config.inc.php into this
config['db_dsnw'] = 'sqlite:/web/mail/roundcubemail.db';
Otherwise database initialization will fail as the default location is at / root of filesystem.
$config['smtp_server'] = 'tls://sanjir.com';
The default is NOT to use TLS localhost which won't work.