Length of "PHP open_basedir" field, in ISPConfig 3 contral panel

Discussion in 'Installation/Configuration' started by qiubosu, Dec 18, 2010.

  1. qiubosu

    qiubosu Member

    in ispconfig 3 control panel, go to Sites -> click a Domain -> click Options. want to type in more directories to be included in the "PHP open_basedir" field, but not allowed, because of the constraint of the length of the text input. how can adjust that length? can type into the "Custom php.ini settings" text field below this "PHP open_basedir" field? if yes, can you give an example with the correct syntax? (the open_basedir in /etc/php5/apache2/php.ini is disabled).

    by the way, i update the database dbispconfig, table web_domain, field php_open_basedir's type from mediumtext to longtext, but the field "PHP open_basedir" in ISPConfig 3 control panel still not allow me to type into more included directory.
     
    Last edited: Dec 18, 2010
  2. ahagadorn

    ahagadorn New Member

    edit sites/templates/web_domain_advanced.htm

    Find php_open_basedir and change the length="255" parameter to whatever you want.

    A TEXT field can hold 65,535 characters, so that was not your problem.

    Andy
     

Share This Page