how can i add the configuration of webmail

Discussion in 'Installation/Configuration' started by sidbyron, Sep 12, 2011.

  1. sidbyron

    sidbyron Member


    Someone else canhelp to add this chain:


    I want ot add in :

    server config ---> tab "web" in the field "PHP open_basedir" i can't wirte anymore. I don't know if i can modify any file in the ispconfig folder.

    someone knows?:confused:
  2. sidbyron

    sidbyron Member

    I had been testing and I have to add only:

    please helpme
  3. falko

    falko Super Moderator ISPConfig Developer

    So you mean the open_basedir field doesn't allow any further directories? How long is the string you currently have in this field?

    What's your ISPConfig version? In the latest version (, you can add up to 64000 characters in that field.
    Last edited: Sep 13, 2011
  4. sidbyron

    sidbyron Member

    Thank you Falko, I have a long string, this is the string that i have:


    And I have the latest version.

    For access at webmail with each domain I have to add this string:


    Because without this string I can't login at webmail with each domain name.

    can you help me? :rolleyes:
  5. falko

    falko Super Moderator ISPConfig Developer

  6. sidbyron

    sidbyron Member

  7. sidbyron

    sidbyron Member

    I Fix it!

    I have modified the files /ispconfig/admin/form/server_config.tform.php:

    'php_open_basedir' => array (
    'datatype' => 'VARCHAR',
    'formtype' => 'TEXT',
    'default' => '',
    'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
    'errmsg'=> 'php_open_basedir_error_empty'),
    'value' => '',
    'width' => '40',

    I Deleted ''maxlength' => '255'

    And I have modified /ispconfig/admin/template/server_config_web_edit.htm:

    <div class="ctrlHolder">
    <label for="php_open_basedir">{tmpl_var name='php_open_basedir_txt'}</label>
    <input name="php_open_basedir" id="php_open_basedir" value="{tmpl_var name='php_open_basedir'}" size="40" type="text" class="textInput" />

    and I have deleted maxlength="255".

    I don't know if in the future I'll have any error when I'm creating a website.
    I need to experiment jejeje
  8. falko

    falko Super Moderator ISPConfig Developer

    Thanks, I've added this to our bugtracker. We will fix this. :)
  9. sidbyron

    sidbyron Member

    sure, if can I help!!! :) I can be beta tester :p

    kind regards. :D

Share This Page