Roundcube issue

millerdesign

Verified User
Joined
Sep 26, 2006
Messages
24
Location
Bristol, CT USA
I went from PHP4 CLI to PHP4 & PHP5 CGI and now I get 500 Internal Error when I try to access roundcube mail.

I had roundcube installed and running prior to the new custombuild 1.1. update.

Any ideas how to fix this?
 
Get this in error log:

Code:
/var/www/html/roundcube/.htaccess: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
 
Get this in error log:

Code:
/var/www/html/roundcube/.htaccess: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration

Code:
perl -pi -e 's/php_flag/#php_flag/' /var/www/html/roundcube/.htaccess
 
Still get: /var/www/html/roundcube/.htaccess: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration?
 
Code:
# AddDefaultCharset     UTF-8
[COLOR="Red"]#php_flag      display_errors  Off
#php_flag      log_errors      On
#php_value       error_log       logs/errors
#php_value       upload_max_filesize     2M[/COLOR]

<FilesMatch "(\.inc|\~)$|^_">
  Order allow,deny
  Deny from all
</FilesMatch>

Order deny,allow
Allow from all

Commenting out php_value and php_flag in the .htaccess file does the trick!
 
Last edited:
Back
Top