Skip to main content

CWP: How to check Roundcube All Configuration using Roundcube Webmail Installer

I am going to show you that How to check Roundcube All Configuration using Roundcube Webmail Installer. In this way you will see all the details about PHP version, missing PHP extensions, available databases, required 3rd party libs, php.ini/.htaccess settings and many more details.

Roundcube Webmail Installer
Image 1
Let's do the following
[root@host ~]# cd /usr/local/src/
[root@host src]# git clone https://github.com/roundcube/roundcubemail.git

Cloning into 'roundcubemail'...
remote: Enumerating objects: 210, done.
remote: Counting objects: 100% (210/210), done.
remote: Compressing objects: 100% (141/141), done.
remote: Total 117796 (delta 72), reused 130 (delta 63), pack-reused 117586
Receiving objects: 100% (117796/117796), 57.28 MiB | 1.62 MiB/s, done.
Resolving deltas: 100% (81855/81855), done. 
Go to the following directory
[root@host src]# cd roundcubemail/
[root@host roundcubemail]# pwd
/usr/local/src/roundcubemail

[root@host roundcubemail]# cp -rvf installer /usr/local/cwpsrv/var/services/roundcube/
[root@host roundcubemail]# cd /usr/local/cwpsrv/var/services/roundcube/
[root@host roundcube]# chown -R cwpsvc:cwpsvc installer/ 

Place this line at the end  $config['enable_installer'] = true;
[root@host roundcube]# vi config/config.inc.php

// skin name: folder from skins/
$config['skin'] = 'larry';
$config['enable_installer'] = true; 

Now Visit: https://Server_FQDN:2031/roundcube/installer/ and Finally observe the details.

N.B: After the final tests please remove the whole installer folder from the document root of the webserver or make sure that enable_installer option in config.inc.php is disabled.

These files may expose sensitive configuration data like server passwords and encryption keys to the public. Make sure you cannot access this installer from your browser.

If you want to install required 3rd party libs then follow:
https://packagist.org/packages/pear/auth_sasl#v1.1.0
https://packagist.org/packages/pear/net_ldap2
https://packagist.org/packages/pear/pear-core-minimal#v1.10.1
https://packagist.org/packages/pear/pear_exception
https://packagist.org/packages/pear/console_getopt
https://packagist.org/packages/kolab/net_ldap3

Also follow the below Tutorial
CWP: How to install composer.phar or Could not open input file: composer.phar (solved)

Comments