Methods of payment Abuse

Why the error No input file specified appears when opening Roundcube

14.01.2025, 23:20

Often when opening Roundcube in ispmanager 6 panel, an error No input file specified occurs. This error in Roundcube running through ISPmanager usually indicates problems with web server configuration or incorrect file path settings.

The value of the open_basedir directive has been changed in the PHP alternative version 7.4

What is Roundcube

Roundcube

Roundcube is a web-based email client that is written in PHP and uses MySQL, PostgreSQL or SQLite for data storage. It provides users with a user-friendly interface to access their mailboxes through a web browser.

Roundcube features:

  1. Intuitive interface. Modern and user interface that resembles traditional email clients.
  2. IMAP support. Works with mail servers that support the IMAP protocol, allowing users to access their mail from different devices
  3. Multilingualism. Supports multiple languages, making it accessible to users from all over the world
  4. Plugins and extensibility. The plugin system allows users to add new features and customize the client to meet their needs.
  5. Security. Supports a variety of security mechanisms, including SSL/TLS encryption to protect data.

Roundcube is a popular choice for hosting providers and organizations that want to provide their users with a convenient way to access email through a web interface.

How to fix the problem?

In ISPmanager, make sure you have your shared hosting configuration set up correctly. Check that all required PHP modules are activated (e.g. mod_rewrite for Apache).

Check the web server logs (usually found in /var/log/apache2/error.log for Apache or /var/log/nginx/error.log for Nginx) for additional clues as to what might be wrong. If you are using PHP-FPM, you need to make sure it is working and properly configured. Check the PHP-FPM pool settings and make sure it is handling requests for your site.

Working with the configuration file

The following line should be added to the PHP version 7.4 configuration file at the path /opt/php74/etc/php-fpm.d/roundcube.php-fpm.conf:

php_value[open_basedir] = /etc/roundcube:/usr/share/roundcube:/var/log/roundcube:/var/lib/roundcube/temp:/var/lib/roundcube/plugins/jqueryui/js/i18n:/usr/share/nodejs/bootstrap/dist:/tmp:/var/lib/php:/opt/php74/share/pear

If you have CentOS 7 installed on the server, you will need to add the following line instead:

php_value[open_basedir] = /etc/roundcubemail:/usr/share/roundcubemail:/var/log/roundcubemail:/var/lib/roundcubemail/temp:/var/lib/roundcubemail/plugins/jqueryui/js/i18n:/usr/share/nodejs/bootstrap/dist:/tmp:/var/lib/php:/opt/php74/share/pear

After saving the changes, you need to restart the service using the command:

service php-fpm74 restart