Roundcube and ISPConfig3

Discussion in 'Installation/Configuration' started by doughold, Sep 25, 2008.

  1. doughold

    doughold New Member

    I have installed ISPConfig3Beta and while attempting to install Roundcube Webmail, I keep encountering the error

    magic_quotes_gpc: NOT OK(is '1', should be '0')

    I have added the following directives:

    <Directory "/var/clients/client0/web5/web">
    php_flag magic_quotes_gpc off
    Options FollowSymLinks
    AllowOverride All

    Even after changing off to 0, changing /clients/client0/web5/web to /www/<domain>/web I have had no luck. I realize that this is still heavily under development and am curious if these directives should work. If so, any thoughts as to why they are not taking?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Your problem is most likely not related to ISPConfig 3 as every apache supports these directives and ISPCcnfig does nod read or interpretes them.

    Please post the complete vhost configuration file of this vhost.
  3. doughold

    doughold New Member

    <VirtualHost *:80>
    DocumentRoot /var/clients/client0/web5/web

    ServerAdmin [email protected]
    ErrorLog /var/clients/client0/web5/log/error.log

    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html

    <Directory /var/www/>
    Options None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all

    <Directory /var/clients/client0/web5/web>
    # suphp enabled
    suPHP_Engine on
    # suPHP_UserGroup web5 client0
    AddHandler x-httpd-suphp .php .php3 .php4 .php5
    suPHP_AddHandler x-httpd-suphp
    php_flag magic_quotes_gpc off

    #php_value magic_quotes_gpc 0
    #php_value_admin magic_quotes_gpc 0
    php_flag magic_quotes_gpc off
    #php_flag_admin magic_quotes_gpc off

    Note: I commented out:

    #php_value magic_quotes_gpc 0
    #php_value_admin magic_quotes_gpc 0

    and added:

    php_flag magic_quotes_gpc off
    #php_flag_admin magic_quotes_gpc off

    to the bottom, even when these were enabled it was not working.

    In addition, I added:

    php_flag magic_quotes_gpc off

    to the <Directory /> section. Thanks for the reply Till, ISPConfig rocks!
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You are using suphp, php_flag and php_admin statements are only working with mod_php. Please be aware that all manualy modifications in the vhost file are removed by the next update of the configuration file.
  5. doughold

    doughold New Member


    I tried modifying it to mod_php before through the control panel, but it didn't work. I see now that the config file is not being updated when I save. I tried running the two cron jobs manually since I thought that might do the trick but no luck, the config file still has suPHP and my mods in it. Any thoughts?


Share This Page