Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
php_admin_value error_reporting 30711 #4331
Reported by mal on 6 Sep 2013 12:08 UTC as Trac ticket #1489323
If "php_admin_flag error_reporting 30711" is used in a virtual host's configuration to set the correct error_reporting value for Roundcube, Roundcube 0.9.3 fails in bootstrap.php because it is not reading the actual value of error_reporting, thanks to using filter_var(..., FILTER_VALIDATE_BOOLEAN). Because php_admin_value was used to set error_reporting, Roundcube's call to ini_set() fails and Roundcube assumes an incorrect error_reporting value.
Roundcube does not need to call ini_set in this case, since error_reporting is already the desired value of 30711.
The only solution on a shared server where error_reporting in php.ini is NOT 30711, is to set it under the virtual host and this is failing with 0.9.3 and worked with 0.9.2