/
/
Error "No input file specified" when starting Roundcube

Error "No input file specified" when starting Roundcube

Symptoms

When starting Roundcube in the ispmanager 6 panel, the “No input file specified” error is displayed.

PLEASE NOTE!

The error is typical for panels of versions higher than 6.107.0 and lower than 6.110.0.

Causes

The value of “open_basedir” directive has been changed in the alternative PHP 7.4.

Solution

Add the following line 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 CentOS 7 is installed on the server, 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

 

Once the changes are saved, restart the service using the following command:

service php-fpm74 restart

In this article